#C231AB#C231AB

#C231AB is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 57.9% C 0.219 H 335.4°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C231AB
RGBrgb(194, 49, 171)
HSLhsl(310, 60%, 48%)
HSVhsv(310, 75%, 76%)
CMYKcmyk(0%, 74.7%, 11.9%, 23.9%)
CIE-LABlab(47.76, 68.21, -33.43)
CIE-LCHlch(47.76, 75.96, 333.89°)
OKLaboklab(57.88% 0.1994 -0.0913)
OKLCHoklch(57.88% 0.219 335.4)
XYZxyz(30.6976, 16.6090, 40.1093)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231AB #31C248
analogous
#9031C2 #C231AB #C23163
triadic
#C231AB #ABC231 #31ABC2
tetradic
#C231AB #C29031 #31C248 #3163C2
square
#C231AB #C29031 #31C248 #3163C2
split-complementary
#C231AB #63C231 #31C290
monochromatic
#601855 #912580 #C231AB #D65BC2 #E28CD4

Accessibility & contrast

On white

4.86
#C231AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C231AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231AB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231AB#FFFFFF#000000##FFFFFF
##C231AB1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3164AE
Deuteranopia (green-blind)
#6679A8
Tritanopia (blue-blind)
#CC3D6B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c231ab;
/* rgb */ color: rgb(194, 49, 171);
/* oklch */ color: oklch(57.9% 0.219 335.4);
Tailwind
colors: {
  custom: {
    50: '#d878c4',
    500: '#c231ab',
    950: '#000000',
  },
}
SCSS
$custom: #c231ab;
$custom-light: #d878c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c231ab",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 309.517,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57875,
    "c": 0.21935,
    "h": 335.4
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#C231AB
secondary
#83CC8E
accent
#E35E45
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C231AB

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

Preview Lab → · Contrast checker → · Palette generator →

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