Màu có tên gần nhất · #5F1E4C
#5F1E4C
Màu có tên gần nhất: Pretty in Prune
#5F1E4C (rgb(95 30 76), hsl(318 52% 25%), oklch(0.353 0.11 341.1)) 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.
#5F1E4C
oklch(0.353 0.11 341.1)
Chuyển đổi màu
- HEX
- #5f1e4c
- RGB
- rgb(95 30 76)
- HSL
- hsl(318 52% 25%)
- HWB
- hwb(318 12% 63%)
- OKLCH
- oklch(0.353 0.11 341.1)
- OKLab
- oklab(0.353 0.104 -0.036)
- CIE Lab
- lab(23.39 33.96 -12.92)
- LCH
- lch(23.39 36.34 339.2)
- CMYK
- cmyk(0% 68% 20% 63%)
Sắc nhạt · Sắc đậm · Sắc xám
Sắc nhạt
- 6F345C
- 80496D
- 905F7E
- A07490
- B08AA1
- BFA1B3
- CFB8C6
- DFCFD9
- EFE7EC
Sắc đậm
- 521941
- 441336
- 380E2C
- 2C0922
- 200518
- 15030F
- 0A0106
- 030002
- 000000
Sắc xám
- 632951
- 673356
- 6B3D5B
- 6F4761
- 725066
- 765A6B
- 786370
- 7B6D75
- 7E767B
Hòa sắc
Bổ túc +180°
- 5F1E4C
Pretty in Prune
- 00482E
≈ Alaskan Moss
Tương đồng -30° +30°
- 5F1E4C
Pretty in Prune
- 4E2665
≈ Elegant Purple Gown
- 681A2D
≈ Velvet Outbreak
Bộ ba +120° +240°
- 5F1E4C
Pretty in Prune
- 443C00
≈ Xanthophobia
- 004353
≈ Crab Nebula
Bổ túc chia +150° +210°
- 5F1E4C
Pretty in Prune
- 284500
≈ Garden Shadow
- 004543
≈ Dark Side
Bộ bốn +90° +180° +270°
- 5F1E4C
Pretty in Prune
- 543300
≈ Eyelash Camel
- 00482E
≈ Alaskan Moss
- 003C6E
≈ Tardis Blue
Tương phản và khả năng tiếp cận
Ag
AAATrên nền trắng
WCAG 11.82:1 · APCA Lc 96
Ag
FailTrên nền đen
WCAG 1.77:1 · APCA Lc 0
Màu chữ tốt nhất: #FFFFFF
WCAG 11.82:1 (AAA) · APCA Lc 96
Contrast pairs
Đoạn mã
CSS
:root {
--pretty-in-prune: #5f1e4c;
--pretty-in-prune-rgb: 95 30 76;
--pretty-in-prune-oklch: oklch(0.353 0.11 341.1);
}
.element {
color: var(--pretty-in-prune);
background-color: hsl(318 52% 25%);
border-color: oklch(0.353 0.11 341.1);
}Tailwind CSS v4
@theme {
--color-pretty-in-prune: #5f1e4c;
--color-pretty-in-prune-50: #ffe9fd;
--color-pretty-in-prune-100: #ffdaf2;
--color-pretty-in-prune-200: #f7c2e1;
--color-pretty-in-prune-300: #e0a1c6;
--color-pretty-in-prune-400: #cb84b2;
--color-pretty-in-prune-500: #b6679c;
--color-pretty-in-prune-600: #9a5884;
--color-pretty-in-prune-700: #7c4669;
--color-pretty-in-prune-800: #5b324f;
--color-pretty-in-prune-900: #402237;
--color-pretty-in-prune-950: #281122;
}SCSS
$pretty-in-prune: #5f1e4c;
$pretty-in-prune-rgb: 95, 30, 76;
$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);
}