#C230B8#C230B8

#C230B8 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.5% C 0.229 H 331.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C230B8
RGBrgb(194, 48, 184)
HSLhsl(304, 60%, 47%)
HSVhsv(304, 75%, 76%)
CMYKcmyk(0%, 75.3%, 5.2%, 23.9%)
CIE-LABlab(48.32, 70.44, -40.20)
CIE-LCHlch(48.32, 81.11, 330.29°)
OKLaboklab(58.49% 0.201 -0.1108)
OKLCHoklch(58.49% 0.229 331.1)
XYZxyz(31.9568, 17.0465, 46.9453)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C230B8 #30C23A
analogous
#8330C2 #C230B8 #C2306F
triadic
#C230B8 #B8C230 #30B8C2
tetradic
#C230B8 #C28330 #30C23A #306FC2
square
#C230B8 #C28330 #30C23A #306FC2
split-complementary
#C230B8 #6FC230 #30C283
monochromatic
#60185B #912489 #C230B8 #D659CD #E28ADC

Accessibility & contrast

On white

4.76
#C230B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C230B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C230B8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C230B8#FFFFFF#000000##FFFFFF
##C230B81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2166BC
Deuteranopia (green-blind)
#5F7AB5
Tritanopia (blue-blind)
#CA4372
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c230b8;
/* rgb */ color: rgb(194, 48, 184);
/* oklch */ color: oklch(58.5% 0.229 331.1);
Tailwind
colors: {
  custom: {
    50: '#d878ce',
    500: '#c230b8',
    950: '#000000',
  },
}
SCSS
$custom: #c230b8;
$custom-light: #d878ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c230b8",
  "rgb": {
    "r": 194,
    "g": 48,
    "b": 184
  },
  "hsl": {
    "h": 304.11,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58488,
    "c": 0.22949,
    "h": 331.1
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#C230B8
secondary
#82CC87
accent
#E34F44
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C230B8

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

Preview Lab → · Contrast checker → · Palette generator →

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