#C23162#C23162

#C23162 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.0% C 0.183 H 5.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C23162
RGBrgb(194, 49, 98)
HSLhsl(340, 60%, 48%)
HSVhsv(340, 75%, 76%)
CMYKcmyk(0%, 74.7%, 49.5%, 23.9%)
CIE-LABlab(45.01, 59.72, 6.67)
CIE-LCHlch(45.01, 60.09, 6.38°)
OKLaboklab(54.97% 0.1825 0.0176)
OKLCHoklch(54.97% 0.183 5.5)
XYZxyz(25.5533, 14.5513, 13.0160)
Luminance0.1455 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23162 #31C291
analogous
#C231AB #C23162 #C24831
triadic
#C23162 #62C231 #3162C2
tetradic
#C23162 #ABC231 #31C291 #4831C2
square
#C23162 #ABC231 #31C291 #4831C2
split-complementary
#C23162 #31C248 #31ABC2
monochromatic
#601831 #912549 #C23162 #D65B84 #E28CA9

Accessibility & contrast

On white

5.37
#C23162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#C23162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23162
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23162#FFFFFF#000000##FFFFFF
##C231621.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545863
Deuteranopia (green-blind)
#7B755F
Tritanopia (blue-blind)
#D30E46
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c23162;
/* rgb */ color: rgb(194, 49, 98);
/* oklch */ color: oklch(55.0% 0.183 5.5);
Tailwind
colors: {
  custom: {
    50: '#da768e',
    500: '#c23162',
    950: '#000000',
  },
}
SCSS
$custom: #c23162;
$custom-light: #da768e;
$custom-dark: #000000;
JSON
{
  "hex": "#c23162",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 98
  },
  "hsl": {
    "h": 339.724,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54975,
    "c": 0.18331,
    "h": 5.5
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#C23162
secondary
#83CCB3
accent
#E3AD45
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C23162

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

Preview Lab → · Contrast checker → · Palette generator →

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