#7E1255#7E1255
#7E1255 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.153 H 348.9°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1255 |
|---|---|
| RGB | rgb(126, 18, 85) |
| HSL | hsl(323, 75%, 28%) |
| HSV | hsv(323, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 32.5%, 50.6%) |
| CIE-LAB | lab(28.18, 49.17, -11.29) |
| CIE-LCH | lch(28.18, 50.45, 347.07°) |
| OKLab | oklab(40.13% 0.1506 -0.0296) |
| OKLCH | oklch(40.13% 0.153 348.9) |
| XYZ | xyz(10.4608, 5.5254, 9.1082) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.24
Red Purple
#820747
ΔE00 4.29
Rich Purple
#720058
ΔE00 4.38
Reddish Purple
#910951
ΔE00 4.94
Dark Magenta
#960056
ΔE00 5.07
Mulberry
#920A4E
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1255 #127E3B
analogous
#71127E #7E1255 #7E121F
triadic
#7E1255 #557E12 #12557E
tetradic
#7E1255 #7E7112 #127E3B #121F7E
square
#7E1255 #7E7112 #127E3B #121F7E
split-complementary
#7E1255 #1F7E12 #127E71
monochromatic
#1B0412 #480A31 #7E1255 #B41A79 #E12A9B
Accessibility & contrast
On white
9.98
#7E1255 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1255 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1255
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1255 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1255 | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#263757
Deuteranopia (green-blind)
#464953
Tritanopia (blue-blind)
#880933
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1255; /* rgb */ color: rgb(126, 18, 85); /* oklch */ color: oklch(40.1% 0.153 348.9);
Tailwind
colors: {
custom: {
50: '#a85f85',
500: '#7e1255',
950: '#000000',
},
}SCSS
$custom: #7e1255; $custom-light: #a85f85; $custom-dark: #000000;
JSON
{
"hex": "#7e1255",
"rgb": {
"r": 126,
"g": 18,
"b": 85
},
"hsl": {
"h": 322.778,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.40128,
"c": 0.15346,
"h": 348.9
},
"luminance": 0.05524
}Semantic roles & 50–950 ramp
primary
#7E1255
secondary
#38B467
accent
#F27D36
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C