#C5236E#C5236E

#C5236E is a mid, highly saturated pink. Relative luminance 0.142; OKLCH L 54.8% C 0.202 H 359.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#C5236E
RGBrgb(197, 35, 110)
HSLhsl(332, 70%, 45%)
HSVhsv(332, 82%, 77%)
CMYKcmyk(0%, 82.2%, 44.2%, 22.7%)
CIE-LABlab(44.52, 65.54, -1.41)
CIE-LCHlch(44.52, 65.56, 358.77°)
OKLaboklab(54.83% 0.2017 -0.0029)
OKLCHoklch(54.83% 0.202 359.2)
XYZxyz(26.4436, 14.2018, 16.0976)
Luminance0.1420 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5236E #23C57A
analogous
#C523BF #C5236E #C52923
triadic
#C5236E #6EC523 #236EC5
tetradic
#C5236E #BFC523 #23C57A #2923C5
square
#C5236E #BFC523 #23C57A #2923C5
split-complementary
#C5236E #23C529 #23BFC5
monochromatic
#5D1134 #911A51 #C5236E #DE478D #E87BAD

Accessibility & contrast

On white

5.47
#C5236E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#C5236E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5236E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5236E#FFFFFF#000000##FFFFFF
##C5236E1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5670
Deuteranopia (green-blind)
#77746A
Tritanopia (blue-blind)
#D60046
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c5236e;
/* rgb */ color: rgb(197, 35, 110);
/* oklch */ color: oklch(54.8% 0.202 359.2);
Tailwind
colors: {
  custom: {
    50: '#dd7197',
    500: '#c5236e',
    950: '#000000',
  },
}
SCSS
$custom: #c5236e;
$custom-light: #dd7197;
$custom-dark: #000000;
JSON
{
  "hex": "#c5236e",
  "rgb": {
    "r": 197,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 332.222,
    "s": 69.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.54827,
    "c": 0.20175,
    "h": 359.2
  },
  "luminance": 0.14198
}

Semantic roles & 50–950 ramp

primary
#C5236E
secondary
#74CFA5
accent
#ED9A3B
background
#FEF7F9
surface
#FDEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C5236E

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

Preview Lab → · Contrast checker → · Palette generator →

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