Màu có tên gần nhất · #7A2858
#7A2858
Màu có tên gần nhất: Pretty in Prune
#7A2858 (rgb(122 40 88), hsl(325 51% 32%), oklch(0.416 0.126 347.8)) gần nhất với màu có tên Pretty in Prune. Xem sắc nhạt, sắc đậm, hòa sắc, tương phản WCAG và APCA, cùng mã CSS, Tailwind v4 và SCSS.
#7A2858
oklch(0.416 0.126 347.8)
Chuyển đổi màu
- HEX
- #7a2858
- RGB
- rgb(122 40 88)
- HSL
- hsl(325 51% 32%)
- HWB
- hwb(325 16% 52%)
- OKLCH
- oklch(0.416 0.126 347.8)
- OKLab
- oklab(0.416 0.123 -0.027)
- CIE Lab
- lab(30.5 39.82 -9.53)
- LCH
- lch(30.5 40.95 346.5)
- CMYK
- cmyk(0% 67% 28% 52%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 883E67
- 975377
- A46787
- B27C97
- BF91A8
- CCA7B9
- D9BCCA
- E6D2DB
- F3E8ED
Sắc đậm
- 69214B
- 591B3F
- 491533
- 3A0F28
- 2B091D
- 1D0412
- 100209
- 050103
- 010000
Sắc xám
- 7C335C
- 7D3C60
- 7F4564
- 804E68
- 81576C
- 815F70
- 816774
- 817078
- 81787C
Hòa sắc
Bổ túc +180°
- 7A2858
Pretty in Prune
- 005A43
≈ Billiard Table
Tương đồng -30° +30°
- 7A2858
Pretty in Prune
- 673178
≈ Purple Magic
- 832631
≈ Shiraz
Bộ ba +120° +240°
- 7A2858
Pretty in Prune
- 514F00
≈ Scorzonera Brown
- 00546E
≈ Blue Palisade
Bổ túc chia +150° +210°
- 7A2858
Pretty in Prune
- 235B03
≈ Lincoln Green
- 00575A
≈ Deep Sea Green
Bộ bốn +90° +180° +270°
- 7A2858
Pretty in Prune
- 664500
≈ Notorious Neanderthal
- 005A43
≈ Billiard Table
- 184A8F
≈ Iron Blue
Tương phản và khả năng tiếp cận
Ag
AAATrên nền trắng
WCAG 9.24:1 · APCA Lc 91
Ag
FailTrên nền đen
WCAG 2.27:1 · APCA Lc 12
Màu chữ tốt nhất: #FFFFFF
WCAG 9.24:1 (AAA) · APCA Lc 91
Contrast pairs
Đoạn mã
CSS
:root {
--pretty-in-prune: #7a2858;
--pretty-in-prune-rgb: 122 40 88;
--pretty-in-prune-oklch: oklch(0.416 0.126 347.8);
}
.element {
color: var(--pretty-in-prune);
background-color: hsl(325 51% 32%);
border-color: oklch(0.416 0.126 347.8);
}Tailwind CSS v4
@theme {
--color-pretty-in-prune: #7a2858;
--color-pretty-in-prune-50: #ffe7fa;
--color-pretty-in-prune-100: #ffd7ee;
--color-pretty-in-prune-200: #ffbfdc;
--color-pretty-in-prune-300: #e99dc1;
--color-pretty-in-prune-400: #d57eac;
--color-pretty-in-prune-500: #c16095;
--color-pretty-in-prune-600: #a3527e;
--color-pretty-in-prune-700: #834165;
--color-pretty-in-prune-800: #612f4c;
--color-pretty-in-prune-900: #442035;
--color-pretty-in-prune-950: #2b0f20;
}SCSS
$pretty-in-prune: #7a2858;
$pretty-in-prune-rgb: 122, 40, 88;
$pretty-in-prune-light: mix(#fff, $pretty-in-prune, 20%);
$pretty-in-prune-dark: mix(#000, $pretty-in-prune, 20%);
.element {
color: $pretty-in-prune;
box-shadow: 0 0 0 2px rgba($pretty-in-prune, 0.35);
}