#7B225F#7B225F
#7B225F is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.4% C 0.140 H 343.0°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #7B225F |
|---|---|
| RGB | rgb(123, 34, 95) |
| HSL | hsl(319, 57%, 31%) |
| HSV | hsv(319, 72%, 48%) |
| CMYK | cmyk(0%, 72.4%, 22.8%, 51.8%) |
| CIE-LAB | lab(29.87, 44.52, -15.31) |
| CIE-LCH | lch(29.87, 47.08, 341.02°) |
| OKLab | oklab(41.39% 0.1338 -0.041) |
| OKLCH | oklch(41.39% 0.14 343) |
| XYZ | xyz(10.8063, 6.1823, 11.4484) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.87
Rich Purple
#720058
ΔE00 4.53
Grape
#6C3461
ΔE00 5.09
Darkish Purple
#751973
ΔE00 6.39
Red Violet
#9E0168
ΔE00 6.60
Grape Purple
#5D1451
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B225F #227B3E
analogous
#6A227B #7B225F #7B2233
triadic
#7B225F #5F7B22 #225F7B
tetradic
#7B225F #7B6A22 #227B3E #22337B
square
#7B225F #7B6A22 #227B3E #22337B
split-complementary
#7B225F #337B22 #227B6A
monochromatic
#1B0715 #4B153A #7B225F #AB2F84 #CD4AA4
Accessibility & contrast
On white
9.39
#7B225F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#7B225F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B225F
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B225F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B225F | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3D61
Deuteranopia (green-blind)
#464C5D
Tritanopia (blue-blind)
#83223D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7b225f; /* rgb */ color: rgb(123, 34, 95); /* oklch */ color: oklch(41.4% 0.140 343.0);
Tailwind
colors: {
custom: {
50: '#a4658c',
500: '#7b225f',
950: '#000000',
},
}SCSS
$custom: #7b225f; $custom-light: #a4658c; $custom-dark: #000000;
JSON
{
"hex": "#7b225f",
"rgb": {
"r": 123,
"g": 34,
"b": 95
},
"hsl": {
"h": 318.876,
"s": 56.688,
"l": 30.784
},
"oklch": {
"l": 0.41389,
"c": 0.13991,
"h": 343
},
"luminance": 0.06181
}Semantic roles & 50–950 ramp
primary
#7B225F
secondary
#4BAE6A
accent
#E07848
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D