#7F265F#7F265F
#7F265F is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.138 H 345.2°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7F265F |
|---|---|
| RGB | rgb(127, 38, 95) |
| HSL | hsl(322, 54%, 32%) |
| HSV | hsv(322, 70%, 50%) |
| CMYK | cmyk(0%, 70.1%, 25.2%, 50.2%) |
| CIE-LAB | lab(31.17, 44.05, -13.25) |
| CIE-LCH | lch(31.17, 46.00, 343.26°) |
| OKLab | oklab(42.48% 0.133 -0.0352) |
| OKLCH | oklch(42.48% 0.138 345.2) |
| XYZ | xyz(11.5115, 6.7256, 11.5162) |
| Luminance | 0.0672 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.63
Grape
#6C3461
ΔE00 5.30
Rich Purple
#720058
ΔE00 5.78
Red Violet
#9E0168
ΔE00 5.95
Dark Magenta
#960056
ΔE00 6.12
Reddish Purple
#910951
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F265F #267F46
analogous
#72267F #7F265F #7F2633
triadic
#7F265F #5F7F26 #265F7F
tetradic
#7F265F #7F7226 #267F46 #26337F
square
#7F265F #7F7226 #267F46 #26337F
split-complementary
#7F265F #337F26 #267F72
monochromatic
#210A19 #50183C #7F265F #AE3482 #CC54A1
Accessibility & contrast
On white
8.96
#7F265F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#7F265F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F265F
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F265F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F265F | 1.00 | 8.96 | 2.34 | 8.96 |
| #FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#304061
Deuteranopia (green-blind)
#4A4F5D
Tritanopia (blue-blind)
#88253F
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #7f265f; /* rgb */ color: rgb(127, 38, 95); /* oklch */ color: oklch(42.5% 0.138 345.2);
Tailwind
colors: {
custom: {
50: '#a7688c',
500: '#7f265f',
950: '#000000',
},
}SCSS
$custom: #7f265f; $custom-light: #a7688c; $custom-dark: #000000;
JSON
{
"hex": "#7f265f",
"rgb": {
"r": 127,
"g": 38,
"b": 95
},
"hsl": {
"h": 321.573,
"s": 53.939,
"l": 32.353
},
"oklch": {
"l": 0.42481,
"c": 0.13755,
"h": 345.2
},
"luminance": 0.06724
}Semantic roles & 50–950 ramp
primary
#7F265F
secondary
#51B073
accent
#DD7F4A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D