#9F234F#9F234F

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

Color values

HEX#9F234F
RGBrgb(159, 35, 79)
HSLhsl(339, 64%, 38%)
HSVhsv(339, 78%, 62%)
CMYKcmyk(0%, 78%, 50.3%, 37.6%)
CIE-LABlab(36.25, 52.63, 5.29)
CIE-LCHlch(36.25, 52.90, 5.73°)
OKLaboklab(47.15% 0.161 0.014)
OKLCHoklch(47.15% 0.162 5)
XYZxyz(16.3118, 9.1398, 8.3008)
Luminance0.0914 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F234F #239F73
analogous
#9F238D #9F234F #9F3523
triadic
#9F234F #4F9F23 #234F9F
tetradic
#9F234F #8D9F23 #239F73 #35239F
square
#9F234F #8D9F23 #239F73 #35239F
split-complementary
#9F234F #239F35 #238D9F
monochromatic
#3B0D1D #6D1836 #9F234F #D12E68 #DC608C

Accessibility & contrast

On white

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

On black

2.83
#9F234F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9F234F#FFFFFF#000000##FFFFFF
##9F234F1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424650
Deuteranopia (green-blind)
#635E4C
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #9f234f;
/* rgb */ color: rgb(159, 35, 79);
/* oklch */ color: oklch(47.1% 0.162 5.0);
Tailwind
colors: {
  custom: {
    50: '#c16a80',
    500: '#9f234f',
    950: '#000000',
  },
}
SCSS
$custom: #9f234f;
$custom-light: #c16a80;
$custom-dark: #000000;
JSON
{
  "hex": "#9f234f",
  "rgb": {
    "r": 159,
    "g": 35,
    "b": 79
  },
  "hsl": {
    "h": 338.71,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47145,
    "c": 0.16159,
    "h": 5
  },
  "luminance": 0.09138
}

Semantic roles & 50–950 ramp

primary
#9F234F
secondary
#5DC19D
accent
#E7AC41
background
#FCF6F7
surface
#F8ECEE
border
#D1C7C9
text
#13070A
muted
#827A7C

Preview Lab

Preview with #9F234F

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

Preview Lab → · Contrast checker → · Palette generator →

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