#C23DA7#C23DA7

#C23DA7 is a mid, highly saturated pink. Relative luminance 0.176; OKLCH L 58.7% C 0.203 H 337.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C23DA7
RGBrgb(194, 61, 167)
HSLhsl(312, 52%, 50%)
HSVhsv(312, 69%, 76%)
CMYKcmyk(0%, 68.6%, 13.9%, 23.9%)
CIE-LABlab(49.01, 63.57, -29.13)
CIE-LCHlch(49.01, 69.93, 335.38°)
OKLaboklab(58.71% 0.187 -0.0791)
OKLCHoklch(58.71% 0.203 337.1)
XYZxyz(30.8924, 17.5996, 38.3218)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23DA7 #3DC258
analogous
#9A3DC2 #C23DA7 #C23D65
triadic
#C23DA7 #A7C23D #3DA7C2
tetradic
#C23DA7 #C29A3D #3DC258 #3D65C2
square
#C23DA7 #C29A3D #3DC258 #3D65C2
split-complementary
#C23DA7 #65C23D #3DC29A
monochromatic
#652057 #932E7F #C23DA7 #D16CBC #DF9AD1

Accessibility & contrast

On white

4.65
#C23DA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C23DA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C23DA7
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23DA7#FFFFFF#000000##FFFFFF
##C23DA71.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4167AA
Deuteranopia (green-blind)
#6C7CA4
Tritanopia (blue-blind)
#CC446D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c23da7;
/* rgb */ color: rgb(194, 61, 167);
/* oklch */ color: oklch(58.7% 0.203 337.1);
Tailwind
colors: {
  custom: {
    50: '#d87dc1',
    500: '#c23da7',
    950: '#000000',
  },
}
SCSS
$custom: #c23da7;
$custom-light: #d87dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#c23da7",
  "rgb": {
    "r": 194,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 312.18,
    "s": 52.157,
    "l": 50
  },
  "oklch": {
    "l": 0.58713,
    "c": 0.20303,
    "h": 337.1
  },
  "luminance": 0.17597
}

Semantic roles & 50–950 ramp

primary
#C23DA7
secondary
#90CB9C
accent
#DC694C
background
#FDF8FB
surface
#FBEFF7
border
#D4CAD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C23DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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