#9F235C#9F235C

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

Color values

HEX#9F235C
RGBrgb(159, 35, 92)
HSLhsl(332, 64%, 38%)
HSVhsv(332, 78%, 62%)
CMYKcmyk(0%, 78%, 42.1%, 37.6%)
CIE-LABlab(36.65, 53.86, -2.50)
CIE-LCHlch(36.65, 53.92, 357.35°)
OKLaboklab(47.56% 0.1656 -0.0059)
OKLCHoklch(47.56% 0.166 358)
XYZxyz(16.8321, 9.3479, 11.0411)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F235C #239F66
analogous
#9F239A #9F235C #9F2823
triadic
#9F235C #5C9F23 #235C9F
tetradic
#9F235C #9A9F23 #239F66 #28239F
square
#9F235C #9A9F23 #239F66 #28239F
split-complementary
#9F235C #239F28 #239A9F
monochromatic
#3B0D22 #6D183F #9F235C #D12E79 #DC6099

Accessibility & contrast

On white

7.32
#9F235C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F235C
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F235C#FFFFFF#000000##FFFFFF
##9F235C1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E475D
Deuteranopia (green-blind)
#605F59
Tritanopia (blue-blind)
#AC0E3C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9f235c;
/* rgb */ color: rgb(159, 35, 92);
/* oklch */ color: oklch(47.6% 0.166 358.0);
Tailwind
colors: {
  custom: {
    50: '#c06b8a',
    500: '#9f235c',
    950: '#000000',
  },
}
SCSS
$custom: #9f235c;
$custom-light: #c06b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f235c",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 92
  },
  "hsl": {
    "h": 332.419,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47563,
    "c": 0.16566,
    "h": 358
  },
  "luminance": 0.09346
}

Semantic roles & 50–950 ramp

primary
#9F235C
secondary
#5DC193
accent
#E79B41
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C

Preview Lab

Preview with #9F235C

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

Preview Lab → · Contrast checker → · Palette generator →

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