#C23A8E#C23A8E

#C23A8E is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.3% C 0.191 H 346.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C23A8E
RGBrgb(194, 58, 142)
HSLhsl(323, 54%, 49%)
HSVhsv(323, 70%, 76%)
CMYKcmyk(0%, 70.1%, 26.8%, 23.9%)
CIE-LABlab(47.56, 61.26, -16.45)
CIE-LCHlch(47.56, 63.43, 344.97°)
OKLaboklab(57.32% 0.1858 -0.0435)
OKLCHoklch(57.32% 0.191 346.8)
XYZxyz(28.6449, 16.4515, 27.2529)
Luminance0.1645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C23A8E #3AC26E
analogous
#B23AC2 #C23A8E #C23A4A
triadic
#C23A8E #8EC23A #3A8EC2
tetradic
#C23A8E #C2B23A #3AC26E #3A4AC2
square
#C23A8E #C2B23A #3AC26E #3A4AC2
split-complementary
#C23A8E #4AC23A #3AC2B2
monochromatic
#641E49 #932C6C #C23A8E #D267A9 #E097C4

Accessibility & contrast

On white

4.90
#C23A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C23A8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C23A8E
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C23A8E#FFFFFF#000000##FFFFFF
##C23A8E1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6290
Deuteranopia (green-blind)
#73798B
Tritanopia (blue-blind)
#CF365F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c23a8e;
/* rgb */ color: rgb(194, 58, 142);
/* oklch */ color: oklch(57.3% 0.191 346.8);
Tailwind
colors: {
  custom: {
    50: '#d97baf',
    500: '#c23a8e',
    950: '#000000',
  },
}
SCSS
$custom: #c23a8e;
$custom-light: #d97baf;
$custom-dark: #000000;
JSON
{
  "hex": "#c23a8e",
  "rgb": {
    "r": 194,
    "g": 58,
    "b": 142
  },
  "hsl": {
    "h": 322.941,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.57315,
    "c": 0.19085,
    "h": 346.8
  },
  "luminance": 0.16448
}

Semantic roles & 50–950 ramp

primary
#C23A8E
secondary
#8DCBA5
accent
#DD834A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C23A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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