#C23871#C23871

#C23871 is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.1% C 0.180 H 359.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C23871
RGBrgb(194, 56, 113)
HSLhsl(335, 55%, 49%)
HSVhsv(335, 71%, 76%)
CMYKcmyk(0%, 71.1%, 41.8%, 23.9%)
CIE-LABlab(46.30, 58.69, -0.71)
CIE-LCHlch(46.30, 58.70, 359.31°)
OKLaboklab(56.06% 0.18 -0.0012)
OKLCHoklch(56.06% 0.18 359.6)
XYZxyz(26.6449, 15.4933, 17.2070)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23871 #38C289
analogous
#C238B6 #C23871 #C24438
triadic
#C23871 #71C238 #3871C2
tetradic
#C23871 #B6C238 #38C289 #4438C2
square
#C23871 #B6C238 #38C289 #4438C2
split-complementary
#C23871 #38C244 #38B6C2
monochromatic
#631D3A #932A55 #C23871 #D26592 #E094B4

Accessibility & contrast

On white

5.12
#C23871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C23871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23871
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23871#FFFFFF#000000##FFFFFF
##C238711.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555D72
Deuteranopia (green-blind)
#7A776E
Tritanopia (blue-blind)
#D22550
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c23871;
/* rgb */ color: rgb(194, 56, 113);
/* oklch */ color: oklch(56.1% 0.180 359.6);
Tailwind
colors: {
  custom: {
    50: '#da7999',
    500: '#c23871',
    950: '#000000',
  },
}
SCSS
$custom: #c23871;
$custom-light: #da7999;
$custom-dark: #000000;
JSON
{
  "hex": "#c23871",
  "rgb": {
    "r": 194,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 335.217,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56064,
    "c": 0.17996,
    "h": 359.6
  },
  "luminance": 0.1549
}

Semantic roles & 50–950 ramp

primary
#C23871
secondary
#8ACBB1
accent
#DFA149
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C23871

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

Preview Lab → · Contrast checker → · Palette generator →

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