#C231A2#C231A2

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

Color values

HEX#C231A2
RGBrgb(194, 49, 162)
HSLhsl(313, 60%, 48%)
HSVhsv(313, 75%, 76%)
CMYKcmyk(0%, 74.7%, 16.5%, 23.9%)
CIE-LABlab(47.34, 66.93, -28.77)
CIE-LCHlch(47.34, 72.85, 336.74°)
OKLaboklab(57.43% 0.1986 -0.078)
OKLCHoklch(57.43% 0.213 338.6)
XYZxyz(29.8687, 16.2775, 35.7442)
Luminance0.1628 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231A2 #31C251
analogous
#9931C2 #C231A2 #C2315A
triadic
#C231A2 #A2C231 #31A2C2
tetradic
#C231A2 #C29931 #31C251 #315AC2
square
#C231A2 #C29931 #31C251 #315AC2
split-complementary
#C231A2 #5AC231 #31C299
monochromatic
#601850 #912579 #C231A2 #D65BBA #E28CCF

Accessibility & contrast

On white

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

On black

4.26
#C231A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C231A2#FFFFFF#000000##FFFFFF
##C231A21.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3962A5
Deuteranopia (green-blind)
#69789F
Tritanopia (blue-blind)
#CD3866
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c231a2;
/* rgb */ color: rgb(194, 49, 162);
/* oklch */ color: oklch(57.4% 0.213 338.6);
Tailwind
colors: {
  custom: {
    50: '#d878be',
    500: '#c231a2',
    950: '#000000',
  },
}
SCSS
$custom: #c231a2;
$custom-light: #d878be;
$custom-dark: #000000;
JSON
{
  "hex": "#c231a2",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 162
  },
  "hsl": {
    "h": 313.241,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57429,
    "c": 0.21333,
    "h": 338.6
  },
  "luminance": 0.16275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C231A2

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

Preview Lab → · Contrast checker → · Palette generator →

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