#C231A5#C231A5

#C231A5 is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.6% C 0.215 H 337.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C231A5
RGBrgb(194, 49, 165)
HSLhsl(312, 60%, 48%)
HSVhsv(312, 75%, 76%)
CMYKcmyk(0%, 74.7%, 14.9%, 23.9%)
CIE-LABlab(47.48, 67.35, -30.33)
CIE-LCHlch(47.48, 73.87, 335.76°)
OKLaboklab(57.58% 0.1989 -0.0824)
OKLCHoklch(57.58% 0.215 337.5)
XYZxyz(30.1386, 16.3854, 37.1654)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231A5 #31C24E
analogous
#9631C2 #C231A5 #C2315C
triadic
#C231A5 #A5C231 #31A5C2
tetradic
#C231A5 #C29631 #31C24E #315CC2
square
#C231A5 #C29631 #31C24E #315CC2
split-complementary
#C231A5 #5CC231 #31C296
monochromatic
#601852 #91257B #C231A5 #D65BBD #E28CD1

Accessibility & contrast

On white

4.91
#C231A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C231A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231A5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231A5#FFFFFF#000000##FFFFFF
##C231A51.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3662A8
Deuteranopia (green-blind)
#6879A2
Tritanopia (blue-blind)
#CD3A68
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c231a5;
/* rgb */ color: rgb(194, 49, 165);
/* oklch */ color: oklch(57.6% 0.215 337.5);
Tailwind
colors: {
  custom: {
    50: '#d878c0',
    500: '#c231a5',
    950: '#000000',
  },
}
SCSS
$custom: #c231a5;
$custom-light: #d878c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c231a5",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 165
  },
  "hsl": {
    "h": 312,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.2153,
    "h": 337.5
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#C231A5
secondary
#83CC91
accent
#E36545
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C231A5

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

Preview Lab → · Contrast checker → · Palette generator →

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