#C230BA#C230BA

#C230BA is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.6% C 0.231 H 330.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C230BA
RGBrgb(194, 48, 186)
HSLhsl(303, 60%, 47%)
HSVhsv(303, 75%, 76%)
CMYKcmyk(0%, 75.3%, 4.1%, 23.9%)
CIE-LABlab(48.42, 70.75, -41.20)
CIE-LCHlch(48.42, 81.87, 329.79°)
OKLaboklab(58.6% 0.201 -0.1137)
OKLCHoklch(58.6% 0.231 330.5)
XYZxyz(32.1679, 17.1310, 48.0572)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C230BA #30C238
analogous
#8130C2 #C230BA #C23071
triadic
#C230BA #BAC230 #30BAC2
tetradic
#C230BA #C28130 #30C238 #3071C2
square
#C230BA #C28130 #30C238 #3071C2
split-complementary
#C230BA #71C230 #30C281
monochromatic
#60185C #91248B #C230BA #D659CF #E28ADD

Accessibility & contrast

On white

4.75
#C230BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C230BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C230BA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C230BA#FFFFFF#000000##FFFFFF
##C230BA1.004.754.434.75
#FFFFFF4.751.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E66BE
Deuteranopia (green-blind)
#5E7AB6
Tritanopia (blue-blind)
#C94473
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c230ba;
/* rgb */ color: rgb(194, 48, 186);
/* oklch */ color: oklch(58.6% 0.231 330.5);
Tailwind
colors: {
  custom: {
    50: '#d878cf',
    500: '#c230ba',
    950: '#000000',
  },
}
SCSS
$custom: #c230ba;
$custom-light: #d878cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c230ba",
  "rgb": {
    "r": 194,
    "g": 48,
    "b": 186
  },
  "hsl": {
    "h": 303.288,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.58598,
    "c": 0.23093,
    "h": 330.5
  },
  "luminance": 0.17128
}

Semantic roles & 50–950 ramp

primary
#C230BA
secondary
#82CC86
accent
#E34D44
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C230BA

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

Preview Lab → · Contrast checker → · Palette generator →

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