#9F234E#9F234E

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

Color values

HEX#9F234E
RGBrgb(159, 35, 78)
HSLhsl(339, 64%, 38%)
HSVhsv(339, 78%, 62%)
CMYKcmyk(0%, 78%, 50.9%, 37.6%)
CIE-LABlab(36.22, 52.55, 5.89)
CIE-LCHlch(36.22, 52.88, 6.40°)
OKLaboklab(47.12% 0.1606 0.0155)
OKLCHoklch(47.12% 0.161 5.5)
XYZxyz(16.2757, 9.1253, 8.1106)
Luminance0.0912 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F234E #239F74
analogous
#9F238C #9F234E #9F3623
triadic
#9F234E #4E9F23 #234E9F
tetradic
#9F234E #8C9F23 #239F74 #36239F
square
#9F234E #8C9F23 #239F74 #36239F
split-complementary
#9F234E #239F36 #238C9F
monochromatic
#3B0D1D #6D1835 #9F234E #D12E67 #DC608B

Accessibility & contrast

On white

7.43
#9F234E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9F234E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F234E#FFFFFF#000000##FFFFFF
##9F234E1.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42464F
Deuteranopia (green-blind)
#635E4B
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f234e;
/* rgb */ color: rgb(159, 35, 78);
/* oklch */ color: oklch(47.1% 0.161 5.5);
Tailwind
colors: {
  custom: {
    50: '#c16a7f',
    500: '#9f234e',
    950: '#000000',
  },
}
SCSS
$custom: #9f234e;
$custom-light: #c16a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#9f234e",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 78
  },
  "hsl": {
    "h": 339.194,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47116,
    "c": 0.16136,
    "h": 5.5
  },
  "luminance": 0.09123
}

Semantic roles & 50–950 ramp

primary
#9F234E
secondary
#5DC19E
accent
#E7AD41
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F234E

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

Preview Lab → · Contrast checker → · Palette generator →

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