#C231A4#C231A4

#C231A4 is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.5% C 0.215 H 337.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C231A4
RGBrgb(194, 49, 164)
HSLhsl(312, 60%, 48%)
HSVhsv(312, 75%, 76%)
CMYKcmyk(0%, 74.7%, 15.5%, 23.9%)
CIE-LABlab(47.43, 67.21, -29.81)
CIE-LCHlch(47.43, 73.53, 336.08°)
OKLaboklab(57.53% 0.1988 -0.081)
OKLCHoklch(57.53% 0.215 337.8)
XYZxyz(30.0479, 16.3492, 36.6880)
Luminance0.1635 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231A4 #31C24F
analogous
#9831C2 #C231A4 #C2315B
triadic
#C231A4 #A4C231 #31A4C2
tetradic
#C231A4 #C29831 #31C24F #315BC2
square
#C231A4 #C29831 #31C24F #315BC2
split-complementary
#C231A4 #5BC231 #31C298
monochromatic
#601851 #91257B #C231A4 #D65BBC #E28CD0

Accessibility & contrast

On white

4.92
#C231A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C231A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231A4
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231A4#FFFFFF#000000##FFFFFF
##C231A41.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3762A7
Deuteranopia (green-blind)
#6978A1
Tritanopia (blue-blind)
#CD3967
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c231a4;
/* rgb */ color: rgb(194, 49, 164);
/* oklch */ color: oklch(57.5% 0.215 337.8);
Tailwind
colors: {
  custom: {
    50: '#d878bf',
    500: '#c231a4',
    950: '#000000',
  },
}
SCSS
$custom: #c231a4;
$custom-light: #d878bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c231a4",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 164
  },
  "hsl": {
    "h": 312.414,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57526,
    "c": 0.21464,
    "h": 337.8
  },
  "luminance": 0.16346
}

Semantic roles & 50–950 ramp

primary
#C231A4
secondary
#83CC92
accent
#E36645
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C231A4

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

Preview Lab → · Contrast checker → · Palette generator →

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