#9F234C#9F234C

#9F234C is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.1% C 0.161 H 6.6°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#9F234C
RGBrgb(159, 35, 76)
HSLhsl(340, 64%, 38%)
HSVhsv(340, 78%, 62%)
CMYKcmyk(0%, 78%, 52.2%, 37.6%)
CIE-LABlab(36.17, 52.38, 7.10)
CIE-LCHlch(36.17, 52.86, 7.72°)
OKLaboklab(47.06% 0.1599 0.0184)
OKLCHoklch(47.06% 0.161 6.6)
XYZxyz(16.2051, 9.0971, 7.7387)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F234C #239F76
analogous
#9F238A #9F234C #9F3823
triadic
#9F234C #4C9F23 #234C9F
tetradic
#9F234C #8A9F23 #239F76 #38239F
square
#9F234C #8A9F23 #239F76 #38239F
split-complementary
#9F234C #239F38 #238A9F
monochromatic
#3B0D1C #6D1834 #9F234C #D12E64 #DC6089

Accessibility & contrast

On white

7.45
#9F234C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#9F234C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F234C
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F234C#FFFFFF#000000##FFFFFF
##9F234C1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43454D
Deuteranopia (green-blind)
#635E49
Tritanopia (blue-blind)
#AE0035
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f234c;
/* rgb */ color: rgb(159, 35, 76);
/* oklch */ color: oklch(47.1% 0.161 6.6);
Tailwind
colors: {
  custom: {
    50: '#c16a7d',
    500: '#9f234c',
    950: '#000000',
  },
}
SCSS
$custom: #9f234c;
$custom-light: #c16a7d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f234c",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 76
  },
  "hsl": {
    "h": 340.161,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47058,
    "c": 0.16092,
    "h": 6.6
  },
  "luminance": 0.09095
}

Semantic roles & 50–950 ramp

primary
#9F234C
secondary
#5DC1A0
accent
#E7B041
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#130709
muted
#827A7B

Preview Lab

Preview with #9F234C

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

Preview Lab → · Contrast checker → · Palette generator →

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