#C230B2#C230B2

#C230B2 is a mid, highly saturated purple. Relative luminance 0.168; OKLCH L 58.2% C 0.225 H 333.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C230B2
RGBrgb(194, 48, 178)
HSLhsl(307, 60%, 47%)
HSVhsv(307, 75%, 76%)
CMYKcmyk(0%, 75.3%, 8.2%, 23.9%)
CIE-LABlab(48.01, 69.54, -37.17)
CIE-LCHlch(48.01, 78.85, 331.87°)
OKLaboklab(58.16% 0.2008 -0.1021)
OKLCHoklch(58.16% 0.225 333.1)
XYZxyz(31.3412, 16.8003, 43.7030)
Luminance0.1680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C230B2 #30C240
analogous
#8930C2 #C230B2 #C23069
triadic
#C230B2 #B2C230 #30B2C2
tetradic
#C230B2 #C28930 #30C240 #3069C2
square
#C230B2 #C28930 #30C240 #3069C2
split-complementary
#C230B2 #69C230 #30C289
monochromatic
#601858 #912485 #C230B2 #D659C8 #E28AD8

Accessibility & contrast

On white

4.82
#C230B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C230B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C230B2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C230B2#FFFFFF#000000##FFFFFF
##C230B21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#6279AF
Tritanopia (blue-blind)
#CB406F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c230b2;
/* rgb */ color: rgb(194, 48, 178);
/* oklch */ color: oklch(58.2% 0.225 333.1);
Tailwind
colors: {
  custom: {
    50: '#d878c9',
    500: '#c230b2',
    950: '#000000',
  },
}
SCSS
$custom: #c230b2;
$custom-light: #d878c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c230b2",
  "rgb": {
    "r": 194,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 306.575,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58164,
    "c": 0.22523,
    "h": 333.1
  },
  "luminance": 0.16798
}

Semantic roles & 50–950 ramp

primary
#C230B2
secondary
#82CC8A
accent
#E35644
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C230B2

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

Preview Lab → · Contrast checker → · Palette generator →

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