#C231A8#C231A8

#C231A8 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.7% C 0.217 H 336.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C231A8
RGBrgb(194, 49, 168)
HSLhsl(311, 60%, 48%)
HSVhsv(311, 75%, 76%)
CMYKcmyk(0%, 74.7%, 13.4%, 23.9%)
CIE-LABlab(47.62, 67.78, -31.89)
CIE-LCHlch(47.62, 74.90, 334.80°)
OKLaboklab(57.72% 0.1992 -0.0869)
OKLCHoklch(57.72% 0.217 336.4)
XYZxyz(30.4149, 16.4959, 38.6204)
Luminance0.1649 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231A8 #31C24B
analogous
#9431C2 #C231A8 #C2315F
triadic
#C231A8 #A8C231 #31A8C2
tetradic
#C231A8 #C29431 #31C24B #315FC2
square
#C231A8 #C29431 #31C24B #315FC2
split-complementary
#C231A8 #5FC231 #31C294
monochromatic
#601853 #91257E #C231A8 #D65BBF #E28CD2

Accessibility & contrast

On white

4.89
#C231A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C231A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231A8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231A8#FFFFFF#000000##FFFFFF
##C231A81.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3463AB
Deuteranopia (green-blind)
#6779A5
Tritanopia (blue-blind)
#CC3B6A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c231a8;
/* rgb */ color: rgb(194, 49, 168);
/* oklch */ color: oklch(57.7% 0.217 336.4);
Tailwind
colors: {
  custom: {
    50: '#d878c2',
    500: '#c231a8',
    950: '#000000',
  },
}
SCSS
$custom: #c231a8;
$custom-light: #d878c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c231a8",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 310.759,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57724,
    "c": 0.21732,
    "h": 336.4
  },
  "luminance": 0.16493
}

Semantic roles & 50–950 ramp

primary
#C231A8
secondary
#83CC90
accent
#E36145
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C231A8

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

Preview Lab → · Contrast checker → · Palette generator →

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