#C231A3#C231A3

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

Color values

HEX#C231A3
RGBrgb(194, 49, 163)
HSLhsl(313, 60%, 48%)
HSVhsv(313, 75%, 76%)
CMYKcmyk(0%, 74.7%, 16%, 23.9%)
CIE-LABlab(47.38, 67.07, -29.29)
CIE-LCHlch(47.38, 73.19, 336.41°)
OKLaboklab(57.48% 0.1987 -0.0795)
OKLCHoklch(57.48% 0.214 338.2)
XYZxyz(29.9580, 16.3132, 36.2142)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231A3 #31C250
analogous
#9931C2 #C231A3 #C2315A
triadic
#C231A3 #A3C231 #31A3C2
tetradic
#C231A3 #C29931 #31C250 #315AC2
square
#C231A3 #C29931 #31C250 #315AC2
split-complementary
#C231A3 #5AC231 #31C299
monochromatic
#601851 #91257A #C231A3 #D65BBB #E28CCF

Accessibility & contrast

On white

4.93
#C231A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C231A3
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231A3#FFFFFF#000000##FFFFFF
##C231A31.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A6
Deuteranopia (green-blind)
#6978A0
Tritanopia (blue-blind)
#CD3967
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c231a3;
/* rgb */ color: rgb(194, 49, 163);
/* oklch */ color: oklch(57.5% 0.214 338.2);
Tailwind
colors: {
  custom: {
    50: '#d878be',
    500: '#c231a3',
    950: '#000000',
  },
}
SCSS
$custom: #c231a3;
$custom-light: #d878be;
$custom-dark: #000000;
JSON
{
  "hex": "#c231a3",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 163
  },
  "hsl": {
    "h": 312.828,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57477,
    "c": 0.21399,
    "h": 338.2
  },
  "luminance": 0.1631
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C231A3

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

Preview Lab → · Contrast checker → · Palette generator →

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