#C5236F#C5236F

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

Color values

HEX#C5236F
RGBrgb(197, 35, 111)
HSLhsl(332, 70%, 45%)
HSVhsv(332, 82%, 77%)
CMYKcmyk(0%, 82.2%, 43.7%, 22.7%)
CIE-LABlab(44.55, 65.64, -1.98)
CIE-LCHlch(44.55, 65.67, 358.27°)
OKLaboklab(54.86% 0.202 -0.0044)
OKLCHoklch(54.86% 0.202 358.7)
XYZxyz(26.4983, 14.2237, 16.3859)
Luminance0.1422 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5236F #23C579
analogous
#C523C0 #C5236F #C52823
triadic
#C5236F #6FC523 #236FC5
tetradic
#C5236F #C0C523 #23C579 #2823C5
square
#C5236F #C0C523 #23C579 #2823C5
split-complementary
#C5236F #23C528 #23C0C5
monochromatic
#5D1134 #911A52 #C5236F #DE478E #E87BAE

Accessibility & contrast

On white

5.46
#C5236F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5236F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5236F#FFFFFF#000000##FFFFFF
##C5236F1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5671
Deuteranopia (green-blind)
#77746B
Tritanopia (blue-blind)
#D60047
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c5236f;
/* rgb */ color: rgb(197, 35, 111);
/* oklch */ color: oklch(54.9% 0.202 358.7);
Tailwind
colors: {
  custom: {
    50: '#dd7198',
    500: '#c5236f',
    950: '#000000',
  },
}
SCSS
$custom: #c5236f;
$custom-light: #dd7198;
$custom-dark: #000000;
JSON
{
  "hex": "#c5236f",
  "rgb": {
    "r": 197,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 331.852,
    "s": 69.828,
    "l": 45.49
  },
  "oklch": {
    "l": 0.5486,
    "c": 0.20209,
    "h": 358.7
  },
  "luminance": 0.1422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5236F

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

Preview Lab → · Contrast checker → · Palette generator →

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