#C230B6#C230B6

#C230B6 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.4% C 0.228 H 331.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C230B6
RGBrgb(194, 48, 182)
HSLhsl(305, 60%, 47%)
HSVhsv(305, 75%, 76%)
CMYKcmyk(0%, 75.3%, 6.2%, 23.9%)
CIE-LABlab(48.21, 70.14, -39.19)
CIE-LCHlch(48.21, 80.35, 330.80°)
OKLaboklab(58.38% 0.2009 -0.1079)
OKLCHoklch(58.38% 0.228 331.8)
XYZxyz(31.7486, 16.9633, 45.8490)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C230B6 #30C23C
analogous
#8530C2 #C230B6 #C2306D
triadic
#C230B6 #B6C230 #30B6C2
tetradic
#C230B6 #C28530 #30C23C #306DC2
square
#C230B6 #C28530 #30C23C #306DC2
split-complementary
#C230B6 #6DC230 #30C285
monochromatic
#60185A #912488 #C230B6 #D659CC #E28ADB

Accessibility & contrast

On white

4.78
#C230B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C230B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C230B6
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C230B6#FFFFFF#000000##FFFFFF
##C230B61.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2465BA
Deuteranopia (green-blind)
#607AB3
Tritanopia (blue-blind)
#CA4271
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c230b6;
/* rgb */ color: rgb(194, 48, 182);
/* oklch */ color: oklch(58.4% 0.228 331.8);
Tailwind
colors: {
  custom: {
    50: '#d878cc',
    500: '#c230b6',
    950: '#000000',
  },
}
SCSS
$custom: #c230b6;
$custom-light: #d878cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c230b6",
  "rgb": {
    "r": 194,
    "g": 48,
    "b": 182
  },
  "hsl": {
    "h": 304.932,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58379,
    "c": 0.22806,
    "h": 331.8
  },
  "luminance": 0.16961
}

Semantic roles & 50–950 ramp

primary
#C230B6
secondary
#82CC88
accent
#E35144
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A13
muted
#837C82

Preview Lab

Preview with #C230B6

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

Preview Lab → · Contrast checker → · Palette generator →

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