#9F235F#9F235F

#9F235F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.7% C 0.167 H 356.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9F235F
RGBrgb(159, 35, 95)
HSLhsl(331, 64%, 38%)
HSVhsv(331, 78%, 62%)
CMYKcmyk(0%, 78%, 40.3%, 37.6%)
CIE-LABlab(36.75, 54.17, -4.27)
CIE-LCHlch(36.75, 54.34, 355.50°)
OKLaboklab(47.67% 0.1665 -0.0105)
OKLCHoklch(47.67% 0.167 356.4)
XYZxyz(16.9659, 9.4014, 11.7455)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F235F #239F63
analogous
#9F239D #9F235F #9F2523
triadic
#9F235F #5F9F23 #235F9F
tetradic
#9F235F #9D9F23 #239F63 #25239F
square
#9F235F #9D9F23 #239F63 #25239F
split-complementary
#9F235F #239F25 #239D9F
monochromatic
#3B0D23 #6D1841 #9F235F #D12E7D #DC609C

Accessibility & contrast

On white

7.29
#9F235F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9F235F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F235F
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F235F#FFFFFF#000000##FFFFFF
##9F235F1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4860
Deuteranopia (green-blind)
#605F5C
Tritanopia (blue-blind)
#AC103E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f235f;
/* rgb */ color: rgb(159, 35, 95);
/* oklch */ color: oklch(47.7% 0.167 356.4);
Tailwind
colors: {
  custom: {
    50: '#c06b8c',
    500: '#9f235f',
    950: '#000000',
  },
}
SCSS
$custom: #9f235f;
$custom-light: #c06b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f235f",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 95
  },
  "hsl": {
    "h": 330.968,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47669,
    "c": 0.16684,
    "h": 356.4
  },
  "luminance": 0.09399
}

Semantic roles & 50–950 ramp

primary
#9F235F
secondary
#5DC191
accent
#E79741
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070C
muted
#827A7D

Preview Lab

Preview with #9F235F

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

Preview Lab → · Contrast checker → · Palette generator →

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