#C230AB#C230AB

#C230AB is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.8% C 0.220 H 335.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C230AB
RGBrgb(194, 48, 171)
HSLhsl(309, 60%, 47%)
HSVhsv(309, 75%, 76%)
CMYKcmyk(0%, 75.3%, 11.9%, 23.9%)
CIE-LABlab(47.66, 68.51, -33.60)
CIE-LCHlch(47.66, 76.31, 333.88°)
OKLaboklab(57.8% 0.2003 -0.0918)
OKLCHoklch(57.8% 0.22 335.4)
XYZxyz(30.6562, 16.5263, 40.0955)
Luminance0.1652 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C230AB #30C247
analogous
#9030C2 #C230AB #C23062
triadic
#C230AB #ABC230 #30ABC2
tetradic
#C230AB #C29030 #30C247 #3062C2
square
#C230AB #C29030 #30C247 #3062C2
split-complementary
#C230AB #62C230 #30C290
monochromatic
#601855 #912480 #C230AB #D659C2 #E28AD4

Accessibility & contrast

On white

4.88
#C230AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C230AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C230AB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C230AB#FFFFFF#000000##FFFFFF
##C230AB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3063AE
Deuteranopia (green-blind)
#6579A8
Tritanopia (blue-blind)
#CC3C6B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c230ab;
/* rgb */ color: rgb(194, 48, 171);
/* oklch */ color: oklch(57.8% 0.220 335.4);
Tailwind
colors: {
  custom: {
    50: '#d878c4',
    500: '#c230ab',
    950: '#000000',
  },
}
SCSS
$custom: #c230ab;
$custom-light: #d878c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c230ab",
  "rgb": {
    "r": 194,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 309.452,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57799,
    "c": 0.22037,
    "h": 335.4
  },
  "luminance": 0.16524
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C230AB

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

Preview Lab → · Contrast checker → · Palette generator →

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