#9F235A#9F235A

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

Color values

HEX#9F235A
RGBrgb(159, 35, 90)
HSLhsl(333, 64%, 38%)
HSVhsv(333, 78%, 62%)
CMYKcmyk(0%, 78%, 43.4%, 37.6%)
CIE-LABlab(36.58, 53.66, -1.31)
CIE-LCHlch(36.58, 53.68, 358.60°)
OKLaboklab(47.49% 0.1649 -0.0028)
OKLCHoklch(47.49% 0.165 359)
XYZxyz(16.7458, 9.3134, 10.5867)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F235A #239F68
analogous
#9F2398 #9F235A #9F2A23
triadic
#9F235A #5A9F23 #235A9F
tetradic
#9F235A #989F23 #239F68 #2A239F
square
#9F235A #989F23 #239F68 #2A239F
split-complementary
#9F235A #239F2A #23989F
monochromatic
#3B0D21 #6D183E #9F235A #D12E76 #DC6097

Accessibility & contrast

On white

7.34
#9F235A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#9F235A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F235A
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F235A#FFFFFF#000000##FFFFFF
##9F235A1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F475B
Deuteranopia (green-blind)
#615F57
Tritanopia (blue-blind)
#AD0C3B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f235a;
/* rgb */ color: rgb(159, 35, 90);
/* oklch */ color: oklch(47.5% 0.165 359.0);
Tailwind
colors: {
  custom: {
    50: '#c16b88',
    500: '#9f235a',
    950: '#000000',
  },
}
SCSS
$custom: #9f235a;
$custom-light: #c16b88;
$custom-dark: #000000;
JSON
{
  "hex": "#9f235a",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 90
  },
  "hsl": {
    "h": 333.387,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47494,
    "c": 0.16492,
    "h": 359
  },
  "luminance": 0.09311
}

Semantic roles & 50–950 ramp

primary
#9F235A
secondary
#5DC195
accent
#E79D41
background
#FCF6F8
surface
#F8ECEF
border
#D1C7CA
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F235A

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

Preview Lab → · Contrast checker → · Palette generator →

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