#9F234D#9F234D

#9F234D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.161 H 6.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#9F234D
RGBrgb(159, 35, 77)
HSLhsl(340, 64%, 38%)
HSVhsv(340, 78%, 62%)
CMYKcmyk(0%, 78%, 51.6%, 37.6%)
CIE-LABlab(36.20, 52.46, 6.50)
CIE-LCHlch(36.20, 52.86, 7.06°)
OKLaboklab(47.09% 0.1602 0.017)
OKLCHoklch(47.09% 0.161 6)
XYZxyz(16.2401, 9.1111, 7.9232)
Luminance0.0911 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F234D #239F75
analogous
#9F238B #9F234D #9F3723
triadic
#9F234D #4D9F23 #234D9F
tetradic
#9F234D #8B9F23 #239F75 #37239F
square
#9F234D #8B9F23 #239F75 #37239F
split-complementary
#9F234D #239F37 #238B9F
monochromatic
#3B0D1C #6D1835 #9F234D #D12E65 #DC608A

Accessibility & contrast

On white

7.44
#9F234D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9F234D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F234D
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F234D#FFFFFF#000000##FFFFFF
##9F234D1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42454E
Deuteranopia (green-blind)
#635E4A
Tritanopia (blue-blind)
#AE0035
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f234d;
/* rgb */ color: rgb(159, 35, 77);
/* oklch */ color: oklch(47.1% 0.161 6.0);
Tailwind
colors: {
  custom: {
    50: '#c16a7e',
    500: '#9f234d',
    950: '#000000',
  },
}
SCSS
$custom: #9f234d;
$custom-light: #c16a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f234d",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 77
  },
  "hsl": {
    "h": 339.677,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47087,
    "c": 0.16114,
    "h": 6
  },
  "luminance": 0.09109
}

Semantic roles & 50–950 ramp

primary
#9F234D
secondary
#5DC19F
accent
#E7AF41
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F234D

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

Preview Lab → · Contrast checker → · Palette generator →

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