#9F2F5B#9F2F5B

#9F2F5B is a mid, vivid pink. Relative luminance 0.102; OKLCH L 48.6% C 0.152 H 0.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#9F2F5B
RGBrgb(159, 47, 91)
HSLhsl(336, 54%, 40%)
HSVhsv(336, 70%, 62%)
CMYKcmyk(0%, 70.4%, 42.8%, 37.6%)
CIE-LABlab(38.13, 49.52, 0.32)
CIE-LCHlch(38.13, 49.52, 0.37°)
OKLaboklab(48.65% 0.1517 0.0014)
OKLCHoklch(48.65% 0.152 0.5)
XYZxyz(17.2042, 10.1614, 10.9509)
Luminance0.1016 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F5B #2F9F73
analogous
#9F2F93 #9F2F5B #9F3B2F
triadic
#9F2F5B #5B9F2F #2F5B9F
tetradic
#9F2F5B #939F2F #2F9F73 #3B2F9F
square
#9F2F5B #939F2F #2F9F73 #3B2F9F
split-complementary
#9F2F5B #2F9F3B #2F939F
monochromatic
#411325 #702140 #9F2F5B #C84477 #D6739A

Accessibility & contrast

On white

6.93
#9F2F5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9F2F5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F5B
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F5B#FFFFFF#000000##FFFFFF
##9F2F5B1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#646258
Tritanopia (blue-blind)
#AC2041
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f2f5b;
/* rgb */ color: rgb(159, 47, 91);
/* oklch */ color: oklch(48.6% 0.152 0.5);
Tailwind
colors: {
  custom: {
    50: '#c07089',
    500: '#9f2f5b',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f5b;
$custom-light: #c07089;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f5b",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 91
  },
  "hsl": {
    "h": 336.429,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48645,
    "c": 0.15169,
    "h": 0.5
  },
  "luminance": 0.10159
}

Semantic roles & 50–950 ramp

primary
#9F2F5B
secondary
#6DBD9E
accent
#DEA44A
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #9F2F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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