#9F235B#9F235B

#9F235B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.5% C 0.165 H 358.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9F235B
RGBrgb(159, 35, 91)
HSLhsl(333, 64%, 38%)
HSVhsv(333, 78%, 62%)
CMYKcmyk(0%, 78%, 42.8%, 37.6%)
CIE-LABlab(36.61, 53.76, -1.90)
CIE-LCHlch(36.61, 53.79, 357.97°)
OKLaboklab(47.53% 0.1652 -0.0043)
OKLCHoklch(47.53% 0.165 358.5)
XYZxyz(16.7887, 9.3305, 10.8124)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F235B #239F67
analogous
#9F2399 #9F235B #9F2923
triadic
#9F235B #5B9F23 #235B9F
tetradic
#9F235B #999F23 #239F67 #29239F
square
#9F235B #999F23 #239F67 #29239F
split-complementary
#9F235B #239F29 #23999F
monochromatic
#3B0D22 #6D183E #9F235B #D12E78 #DC6098

Accessibility & contrast

On white

7.33
#9F235B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F235B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F235B#FFFFFF#000000##FFFFFF
##9F235B1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F475C
Deuteranopia (green-blind)
#605F58
Tritanopia (blue-blind)
#AD0D3C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f235b;
/* rgb */ color: rgb(159, 35, 91);
/* oklch */ color: oklch(47.5% 0.165 358.5);
Tailwind
colors: {
  custom: {
    50: '#c06b89',
    500: '#9f235b',
    950: '#000000',
  },
}
SCSS
$custom: #9f235b;
$custom-light: #c06b89;
$custom-dark: #000000;
JSON
{
  "hex": "#9f235b",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 91
  },
  "hsl": {
    "h": 332.903,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47528,
    "c": 0.16529,
    "h": 358.5
  },
  "luminance": 0.09328
}

Semantic roles & 50–950 ramp

primary
#9F235B
secondary
#5DC194
accent
#E79C41
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F235B

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

Preview Lab → · Contrast checker → · Palette generator →

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