#C231A7#C231A7

#C231A7 is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.7% C 0.217 H 336.8°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C231A7
RGBrgb(194, 49, 167)
HSLhsl(311, 60%, 48%)
HSVhsv(311, 75%, 76%)
CMYKcmyk(0%, 74.7%, 13.9%, 23.9%)
CIE-LABlab(47.57, 67.63, -31.37)
CIE-LCHlch(47.57, 74.56, 335.12°)
OKLaboklab(57.67% 0.1991 -0.0854)
OKLCHoklch(57.67% 0.217 336.8)
XYZxyz(30.3221, 16.4588, 38.1317)
Luminance0.1646 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C231A7 #31C24C
analogous
#9431C2 #C231A7 #C2315F
triadic
#C231A7 #A7C231 #31A7C2
tetradic
#C231A7 #C29431 #31C24C #315FC2
square
#C231A7 #C29431 #31C24C #315FC2
split-complementary
#C231A7 #5FC231 #31C294
monochromatic
#601853 #91257D #C231A7 #D65BBF #E28CD2

Accessibility & contrast

On white

4.89
#C231A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C231A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C231A7
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C231A7#FFFFFF#000000##FFFFFF
##C231A71.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3563AA
Deuteranopia (green-blind)
#6779A4
Tritanopia (blue-blind)
#CC3B69
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c231a7;
/* rgb */ color: rgb(194, 49, 167);
/* oklch */ color: oklch(57.7% 0.217 336.8);
Tailwind
colors: {
  custom: {
    50: '#d878c1',
    500: '#c231a7',
    950: '#000000',
  },
}
SCSS
$custom: #c231a7;
$custom-light: #d878c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c231a7",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 167
  },
  "hsl": {
    "h": 311.172,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57674,
    "c": 0.21664,
    "h": 336.8
  },
  "luminance": 0.16456
}

Semantic roles & 50–950 ramp

primary
#C231A7
secondary
#83CC90
accent
#E36245
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C231A7

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

Preview Lab → · Contrast checker → · Palette generator →

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