#C230AC#C230AC

#C230AC is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.221 H 335.0°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C230AC
RGBrgb(194, 48, 172)
HSLhsl(309, 60%, 47%)
HSVhsv(309, 75%, 76%)
CMYKcmyk(0%, 75.3%, 11.3%, 23.9%)
CIE-LABlab(47.71, 68.66, -34.11)
CIE-LCHlch(47.71, 76.66, 333.58°)
OKLaboklab(57.85% 0.2004 -0.0933)
OKLCHoklch(57.85% 0.221 335)
XYZxyz(30.7519, 16.5646, 40.5994)
Luminance0.1656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C230AC #30C246
analogous
#8F30C2 #C230AC #C23063
triadic
#C230AC #ACC230 #30ACC2
tetradic
#C230AC #C28F30 #30C246 #3063C2
square
#C230AC #C28F30 #30C246 #3063C2
split-complementary
#C230AC #63C230 #30C28F
monochromatic
#601855 #912481 #C230AC #D659C3 #E28AD5

Accessibility & contrast

On white

4.87
#C230AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C230AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C230AC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C230AC#FFFFFF#000000##FFFFFF
##C230AC1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F63AF
Deuteranopia (green-blind)
#6579A9
Tritanopia (blue-blind)
#CC3D6B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c230ac;
/* rgb */ color: rgb(194, 48, 172);
/* oklch */ color: oklch(57.9% 0.221 335.0);
Tailwind
colors: {
  custom: {
    50: '#d878c5',
    500: '#c230ac',
    950: '#000000',
  },
}
SCSS
$custom: #c230ac;
$custom-light: #d878c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c230ac",
  "rgb": {
    "r": 194,
    "g": 48,
    "b": 172
  },
  "hsl": {
    "h": 309.041,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.22106,
    "h": 335
  },
  "luminance": 0.16562
}

Semantic roles & 50–950 ramp

primary
#C230AC
secondary
#82CC8D
accent
#E35C44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C230AC

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

Preview Lab → · Contrast checker → · Palette generator →

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