#9F2E58#9F2E58

#9F2E58 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.4% C 0.152 H 2.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#9F2E58
RGBrgb(159, 46, 88)
HSLhsl(338, 55%, 40%)
HSVhsv(338, 71%, 62%)
CMYKcmyk(0%, 71.1%, 44.7%, 37.6%)
CIE-LABlab(37.90, 49.60, 1.89)
CIE-LCHlch(37.90, 49.63, 2.18°)
OKLaboklab(48.44% 0.1519 0.0054)
OKLCHoklch(48.44% 0.152 2.1)
XYZxyz(17.0378, 10.0317, 10.2697)
Luminance0.1003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E58 #2E9F75
analogous
#9F2E90 #9F2E58 #9F3C2E
triadic
#9F2E58 #589F2E #2E589F
tetradic
#9F2E58 #909F2E #2E9F75 #3C2E9F
square
#9F2E58 #909F2E #2E9F75 #3C2E9F
split-complementary
#9F2E58 #2E9F3C #2E909F
monochromatic
#401323 #70203E #9F2E58 #C84274 #D67197

Accessibility & contrast

On white

6.99
#9F2E58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9F2E58 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2E58
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2E58#FFFFFF#000000##FFFFFF
##9F2E581.006.993.016.99
#FFFFFF6.991.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B59
Deuteranopia (green-blind)
#646155
Tritanopia (blue-blind)
#AD1E3F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2e58;
/* rgb */ color: rgb(159, 46, 88);
/* oklch */ color: oklch(48.4% 0.152 2.1);
Tailwind
colors: {
  custom: {
    50: '#c06f87',
    500: '#9f2e58',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e58;
$custom-light: #c06f87;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e58",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 88
  },
  "hsl": {
    "h": 337.699,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48444,
    "c": 0.15195,
    "h": 2.1
  },
  "luminance": 0.10029
}

Semantic roles & 50–950 ramp

primary
#9F2E58
secondary
#6BBE9F
accent
#DEA749
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F2E58

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#9F2E58 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva