#C23158#C23158

#C23158 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.7% C 0.182 H 10.1°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C23158
RGBrgb(194, 49, 88)
HSLhsl(344, 60%, 48%)
HSVhsv(344, 75%, 76%)
CMYKcmyk(0%, 74.7%, 54.6%, 23.9%)
CIE-LABlab(44.76, 58.91, 12.52)
CIE-LCHlch(44.76, 60.23, 12.00°)
OKLaboklab(54.71% 0.1787 0.0317)
OKLCHoklch(54.71% 0.182 10.1)
XYZxyz(25.1103, 14.3741, 10.6829)
Luminance0.1437 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23158 #31C29B
analogous
#C231A1 #C23158 #C25231
triadic
#C23158 #58C231 #3158C2
tetradic
#C23158 #A1C231 #31C29B #5231C2
square
#C23158 #A1C231 #31C29B #5231C2
split-complementary
#C23158 #31C252 #31A1C2
monochromatic
#60182C #912542 #C23158 #D65B7C #E28CA3

Accessibility & contrast

On white

5.42
#C23158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#C23158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23158
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23158#FFFFFF#000000##FFFFFF
##C231581.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575759
Deuteranopia (green-blind)
#7C7554
Tritanopia (blue-blind)
#D40241
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c23158;
/* rgb */ color: rgb(194, 49, 88);
/* oklch */ color: oklch(54.7% 0.182 10.1);
Tailwind
colors: {
  custom: {
    50: '#db7586',
    500: '#c23158',
    950: '#000000',
  },
}
SCSS
$custom: #c23158;
$custom-light: #db7586;
$custom-dark: #000000;
JSON
{
  "hex": "#c23158",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 343.862,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.5471,
    "c": 0.18151,
    "h": 10.1
  },
  "luminance": 0.14371
}

Semantic roles & 50–950 ramp

primary
#C23158
secondary
#83CCB8
accent
#E3B845
background
#FEF7F8
surface
#FCEEEF
border
#D5C9CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C23158

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

Preview Lab → · Contrast checker → · Palette generator →

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