#C4239C#C4239C

#C4239C is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.5% C 0.223 H 340.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C4239C
RGBrgb(196, 35, 156)
HSLhsl(315, 70%, 45%)
HSVhsv(315, 82%, 77%)
CMYKcmyk(0%, 82.1%, 20.4%, 23.1%)
CIE-LABlab(46.10, 70.36, -27.09)
CIE-LCHlch(46.10, 75.39, 338.94°)
OKLaboklab(56.51% 0.2111 -0.0731)
OKLCHoklch(56.51% 0.223 340.9)
XYZxyz(29.3677, 15.3412, 32.8606)
Luminance0.1534 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4239C #23C44B
analogous
#9C23C4 #C4239C #C4234B
triadic
#C4239C #9CC423 #239CC4
tetradic
#C4239C #C49C23 #23C44B #234BC4
square
#C4239C #C49C23 #23C44B #234BC4
split-complementary
#C4239C #4BC423 #23C49C
monochromatic
#5C1049 #901A73 #C4239C #DE46B8 #E77ACC

Accessibility & contrast

On white

5.16
#C4239C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#C4239C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C4239C
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4239C#FFFFFF#000000##FFFFFF
##C4239C1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335D9F
Deuteranopia (green-blind)
#697699
Tritanopia (blue-blind)
#D0285F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c4239c;
/* rgb */ color: rgb(196, 35, 156);
/* oklch */ color: oklch(56.5% 0.223 340.9);
Tailwind
colors: {
  custom: {
    50: '#da73b9',
    500: '#c4239c',
    950: '#000000',
  },
}
SCSS
$custom: #c4239c;
$custom-light: #da73b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c4239c",
  "rgb": {
    "r": 196,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 314.907,
    "s": 69.697,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56512,
    "c": 0.22342,
    "h": 340.9
  },
  "luminance": 0.15338
}

Semantic roles & 50–950 ramp

primary
#C4239C
secondary
#74CF8A
accent
#ED673B
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160911
muted
#847B80

Preview Lab

Preview with #C4239C

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

Preview Lab → · Contrast checker → · Palette generator →

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