#C9239F#C9239F

#C9239F is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.5% C 0.228 H 341.2°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C9239F
RGBrgb(201, 35, 159)
HSLhsl(315, 70%, 46%)
HSVhsv(315, 83%, 79%)
CMYKcmyk(0%, 82.6%, 20.9%, 21.2%)
CIE-LABlab(47.14, 71.83, -27.19)
CIE-LCHlch(47.14, 76.80, 339.26°)
OKLaboklab(57.47% 0.2158 -0.0733)
OKLCHoklch(57.47% 0.228 341.2)
XYZxyz(30.9475, 16.1261, 34.2770)
Luminance0.1612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9239F #23C94D
analogous
#A023C9 #C9239F #C9234C
triadic
#C9239F #9FC923 #239FC9
tetradic
#C9239F #C9A023 #23C94D #234CC9
square
#C9239F #C9A023 #23C94D #234CC9
split-complementary
#C9239F #4CC923 #23C9A0
monochromatic
#61114D #951A76 #C9239F #DF4ABA #E97ECE

Accessibility & contrast

On white

4.97
#C9239F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C9239F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C9239F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9239F#FFFFFF#000000##FFFFFF
##C9239F1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#6C799B
Tritanopia (blue-blind)
#D62861
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c9239f;
/* rgb */ color: rgb(201, 35, 159);
/* oklch */ color: oklch(57.5% 0.228 341.2);
Tailwind
colors: {
  custom: {
    50: '#de74bb',
    500: '#c9239f',
    950: '#000000',
  },
}
SCSS
$custom: #c9239f;
$custom-light: #de74bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c9239f",
  "rgb": {
    "r": 201,
    "g": 35,
    "b": 159
  },
  "hsl": {
    "h": 315.181,
    "s": 70.339,
    "l": 46.275
  },
  "oklch": {
    "l": 0.57471,
    "c": 0.22793,
    "h": 341.2
  },
  "luminance": 0.16123
}

Semantic roles & 50–950 ramp

primary
#C9239F
secondary
#77D18E
accent
#ED683B
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160912
muted
#847B81

Preview Lab

Preview with #C9239F

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

Preview Lab → · Contrast checker → · Palette generator →

#C9239F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva