#C231A9#C231A9

#C231A9 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.8% C 0.218 H 336.1°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C231A9
RGBrgb(194, 49, 169)
HSLhsl(310, 60%, 48%)
HSVhsv(310, 75%, 76%)
CMYKcmyk(0%, 74.7%, 12.9%, 23.9%)
CIE-LABlab(47.67, 67.92, -32.40)
CIE-LCHlch(47.67, 75.25, 334.50°)
OKLaboklab(57.77% 0.1993 -0.0884)
OKLCHoklch(57.77% 0.218 336.1)
XYZxyz(30.5084, 16.5333, 39.1129)
Luminance0.1653 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231A9 #31C24A
analogous
#9331C2 #C231A9 #C23160
triadic
#C231A9 #A9C231 #31A9C2
tetradic
#C231A9 #C29331 #31C24A #3160C2
square
#C231A9 #C29331 #31C24A #3160C2
split-complementary
#C231A9 #60C231 #31C293
monochromatic
#601854 #91257E #C231A9 #D65BC0 #E28CD3

Accessibility & contrast

On white

4.88
#C231A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C231A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231A9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231A9#FFFFFF#000000##FFFFFF
##C231A91.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3363AC
Deuteranopia (green-blind)
#6679A6
Tritanopia (blue-blind)
#CC3C6A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c231a9;
/* rgb */ color: rgb(194, 49, 169);
/* oklch */ color: oklch(57.8% 0.218 336.1);
Tailwind
colors: {
  custom: {
    50: '#d878c3',
    500: '#c231a9',
    950: '#000000',
  },
}
SCSS
$custom: #c231a9;
$custom-light: #d878c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c231a9",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 169
  },
  "hsl": {
    "h": 310.345,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57774,
    "c": 0.21799,
    "h": 336.1
  },
  "luminance": 0.16531
}

Semantic roles & 50–950 ramp

primary
#C231A9
secondary
#83CC8F
accent
#E36045
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C231A9

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

Preview Lab → · Contrast checker → · Palette generator →

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