#98335F#98335F
#98335F is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.1% C 0.141 H 356.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #98335F |
|---|---|
| RGB | rgb(152, 51, 95) |
| HSL | hsl(334, 50%, 40%) |
| HSV | hsv(334, 66%, 60%) |
| CMYK | cmyk(0%, 66.4%, 37.5%, 40.4%) |
| CIE-LAB | lab(37.61, 46.14, -3.13) |
| CIE-LCH | lch(37.61, 46.25, 356.12°) |
| OKLab | oklab(48.07% 0.1411 -0.0076) |
| OKLCH | oklch(48.07% 0.141 356.9) |
| XYZ | xyz(16.1993, 9.8711, 11.8765) |
| Luminance | 0.0987 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 4.83
Deep Magenta
#A0025C
ΔE00 5.01
Violet Red
#A50055
ΔE00 5.16
Berry
#990F4B
ΔE00 5.66
Mulberry
#920A4E
ΔE00 5.75
Dark Magenta
#960056
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#98335F #33986C
analogous
#983392 #98335F #983933
triadic
#98335F #5F9833 #335F98
tetradic
#98335F #929833 #33986C #393398
square
#98335F #929833 #33986C #393398
split-complementary
#98335F #339839 #339298
monochromatic
#3C1426 #6A2442 #98335F #C1477C #D1759D
Accessibility & contrast
On white
7.06
#98335F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.97
#98335F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #98335F
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##98335F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##98335F | 1.00 | 7.06 | 2.97 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454D60
Deuteranopia (green-blind)
#605F5D
Tritanopia (blue-blind)
#A42A45
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #98335f; /* rgb */ color: rgb(152, 51, 95); /* oklch */ color: oklch(48.1% 0.141 356.9);
Tailwind
colors: {
custom: {
50: '#ba718c',
500: '#98335f',
950: '#000000',
},
}SCSS
$custom: #98335f; $custom-light: #ba718c; $custom-dark: #000000;
JSON
{
"hex": "#98335f",
"rgb": {
"r": 152,
"g": 51,
"b": 95
},
"hsl": {
"h": 333.861,
"s": 49.754,
"l": 39.804
},
"oklch": {
"l": 0.48066,
"c": 0.14131,
"h": 356.9
},
"luminance": 0.09869
}Semantic roles & 50–950 ramp
primary
#98335F
secondary
#6EB998
accent
#D99D4F
background
#FBF7F8
surface
#F7EDF0
border
#D0C8CB
text
#12080C
muted
#817B7D