#9F235D#9F235D

#9F235D is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.166 H 357.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9F235D
RGBrgb(159, 35, 93)
HSLhsl(332, 64%, 38%)
HSVhsv(332, 78%, 62%)
CMYKcmyk(0%, 78%, 41.5%, 37.6%)
CIE-LABlab(36.68, 53.96, -3.09)
CIE-LCHlch(36.68, 54.05, 356.73°)
OKLaboklab(47.6% 0.1659 -0.0074)
OKLCHoklch(47.6% 0.166 357.4)
XYZxyz(16.8761, 9.3655, 11.2728)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F235D #239F65
analogous
#9F239B #9F235D #9F2723
triadic
#9F235D #5D9F23 #235D9F
tetradic
#9F235D #9B9F23 #239F65 #27239F
square
#9F235D #9B9F23 #239F65 #27239F
split-complementary
#9F235D #239F27 #239B9F
monochromatic
#3B0D22 #6D1840 #9F235D #D12E7A #DC609A

Accessibility & contrast

On white

7.31
#9F235D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9F235D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F235D
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F235D#FFFFFF#000000##FFFFFF
##9F235D1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475E
Deuteranopia (green-blind)
#605F5A
Tritanopia (blue-blind)
#AC0F3D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f235d;
/* rgb */ color: rgb(159, 35, 93);
/* oklch */ color: oklch(47.6% 0.166 357.4);
Tailwind
colors: {
  custom: {
    50: '#c06b8a',
    500: '#9f235d',
    950: '#000000',
  },
}
SCSS
$custom: #9f235d;
$custom-light: #c06b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f235d",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 93
  },
  "hsl": {
    "h": 331.935,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47598,
    "c": 0.16605,
    "h": 357.4
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#9F235D
secondary
#5DC192
accent
#E79941
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F235D

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

Preview Lab → · Contrast checker → · Palette generator →

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