#782238#782238
#782238 is a dark, moderate pink. Relative luminance 0.054; OKLCH L 39.4% C 0.120 H 9.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #782238 |
|---|---|
| RGB | rgb(120, 34, 56) |
| HSL | hsl(345, 56%, 30%) |
| HSV | hsv(345, 72%, 47%) |
| CMYK | cmyk(0%, 71.7%, 53.3%, 52.9%) |
| CIE-LAB | lab(27.91, 38.90, 7.54) |
| CIE-LCH | lch(27.91, 39.63, 10.96°) |
| OKLab | oklab(39.39% 0.1182 0.0193) |
| OKLCH | oklch(39.39% 0.12 9.3) |
| XYZ | xyz(9.0323, 5.4238, 4.3119) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine
#722F37
ΔE00 4.12
Bordeaux
#7B002C
ΔE00 4.17
Red Wine
#8C0034
ΔE00 4.92
Wine (survey)
#80013F
ΔE00 5.57
Merlot
#730039
ΔE00 6.05
Wine Red
#7B0323
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#782238 #227862
analogous
#782263 #782238 #783722
triadic
#782238 #387822 #223878
tetradic
#782238 #637822 #227862 #372278
square
#782238 #637822 #227862 #372278
split-complementary
#782238 #227837 #226378
monochromatic
#19070B #481422 #782238 #A8304E #CB496A
Accessibility & contrast
On white
10.07
#782238 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#782238 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #782238
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##782238 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##782238 | 1.00 | 10.07 | 2.08 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363738
Deuteranopia (green-blind)
#4D4836
Tritanopia (blue-blind)
#83122B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #782238; /* rgb */ color: rgb(120, 34, 56); /* oklch */ color: oklch(39.4% 0.120 9.3);
Tailwind
colors: {
custom: {
50: '#a4646e',
500: '#782238',
950: '#000000',
},
}SCSS
$custom: #782238; $custom-light: #a4646e; $custom-dark: #000000;
JSON
{
"hex": "#782238",
"rgb": {
"r": 120,
"g": 34,
"b": 56
},
"hsl": {
"h": 344.651,
"s": 55.844,
"l": 30.196
},
"oklch": {
"l": 0.39385,
"c": 0.11973,
"h": 9.3
},
"luminance": 0.05423
}Semantic roles & 50–950 ramp
primary
#782238
secondary
#4BAB92
accent
#DFB949
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100607
muted
#7F7A7A