#C231A1#C231A1

#C231A1 is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.4% C 0.213 H 338.9°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C231A1
RGBrgb(194, 49, 161)
HSLhsl(314, 60%, 48%)
HSVhsv(314, 75%, 76%)
CMYKcmyk(0%, 74.7%, 17%, 23.9%)
CIE-LABlab(47.29, 66.80, -28.24)
CIE-LCHlch(47.29, 72.52, 337.08°)
OKLaboklab(57.38% 0.1984 -0.0765)
OKLCHoklch(57.38% 0.213 338.9)
XYZxyz(29.7802, 16.2421, 35.2780)
Luminance0.1624 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231A1 #31C252
analogous
#9A31C2 #C231A1 #C23159
triadic
#C231A1 #A1C231 #31A1C2
tetradic
#C231A1 #C29A31 #31C252 #3159C2
square
#C231A1 #C29A31 #31C252 #3159C2
split-complementary
#C231A1 #59C231 #31C29A
monochromatic
#601850 #912578 #C231A1 #D65BBA #E28CCE

Accessibility & contrast

On white

4.94
#C231A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C231A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231A1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231A1#FFFFFF#000000##FFFFFF
##C231A11.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A4
Deuteranopia (green-blind)
#6A789E
Tritanopia (blue-blind)
#CD3866
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c231a1;
/* rgb */ color: rgb(194, 49, 161);
/* oklch */ color: oklch(57.4% 0.213 338.9);
Tailwind
colors: {
  custom: {
    50: '#d978bd',
    500: '#c231a1',
    950: '#000000',
  },
}
SCSS
$custom: #c231a1;
$custom-light: #d978bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c231a1",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 161
  },
  "hsl": {
    "h": 313.655,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57381,
    "c": 0.21268,
    "h": 338.9
  },
  "luminance": 0.16239
}

Semantic roles & 50–950 ramp

primary
#C231A1
secondary
#83CC93
accent
#E36945
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C231A1

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

Preview Lab → · Contrast checker → · Palette generator →

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