#9F2E57#9F2E57

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

Color values

HEX#9F2E57
RGBrgb(159, 46, 87)
HSLhsl(338, 55%, 40%)
HSVhsv(338, 71%, 62%)
CMYKcmyk(0%, 71.1%, 45.3%, 37.6%)
CIE-LABlab(37.87, 49.50, 2.48)
CIE-LCHlch(37.87, 49.56, 2.87°)
OKLaboklab(48.41% 0.1515 0.007)
OKLCHoklch(48.41% 0.152 2.6)
XYZxyz(16.9967, 10.0152, 10.0531)
Luminance0.1001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2E57 #2E9F76
analogous
#9F2E8F #9F2E57 #9F3D2E
triadic
#9F2E57 #579F2E #2E579F
tetradic
#9F2E57 #8F9F2E #2E9F76 #3D2E9F
square
#9F2E57 #8F9F2E #2E9F76 #3D2E9F
split-complementary
#9F2E57 #2E9F3D #2E8F9F
monochromatic
#401323 #70203D #9F2E57 #C84273 #D67196

Accessibility & contrast

On white

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

On black

3.00
#9F2E57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F2E57#FFFFFF#000000##FFFFFF
##9F2E571.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B58
Deuteranopia (green-blind)
#656154
Tritanopia (blue-blind)
#AD1D3F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f2e57;
/* rgb */ color: rgb(159, 46, 87);
/* oklch */ color: oklch(48.4% 0.152 2.6);
Tailwind
colors: {
  custom: {
    50: '#c06f86',
    500: '#9f2e57',
    950: '#000000',
  },
}
SCSS
$custom: #9f2e57;
$custom-light: #c06f86;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2e57",
  "rgb": {
    "r": 159,
    "g": 46,
    "b": 87
  },
  "hsl": {
    "h": 338.23,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.48413,
    "c": 0.15165,
    "h": 2.6
  },
  "luminance": 0.10013
}

Semantic roles & 50–950 ramp

primary
#9F2E57
secondary
#6BBEA0
accent
#DEA849
background
#FCF7F8
surface
#F8EDEF
border
#D1C8CA
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F2E57

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

Preview Lab → · Contrast checker → · Palette generator →

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