#C251AC#C251AC

#C251AC is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.1% C 0.179 H 335.8°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#C251AC
RGBrgb(194, 81, 172)
HSLhsl(312, 48%, 54%)
HSVhsv(312, 58%, 76%)
CMYKcmyk(0%, 58.2%, 11.3%, 23.9%)
CIE-LABlab(52.21, 56.10, -27.08)
CIE-LCHlch(52.21, 62.30, 334.23°)
OKLaboklab(61.13% 0.1634 -0.0735)
OKLCHoklch(61.13% 0.179 335.8)
XYZxyz(32.6372, 20.3353, 41.2279)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251AC #51C267
analogous
#A051C2 #C251AC #C25174
triadic
#C251AC #ACC251 #51ACC2
tetradic
#C251AC #C2A051 #51C267 #5174C2
square
#C251AC #C2A051 #51C267 #5174C2
split-complementary
#C251AC #74C251 #51C2A0
monochromatic
#712863 #9E378A #C251AC #D27EC2 #E2ACD7

Accessibility & contrast

On white

4.14
#C251AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#C251AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251AC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251AC#FFFFFF#000000##000000
##C251AC1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5272AF
Deuteranopia (green-blind)
#7483A9
Tritanopia (blue-blind)
#CB5777
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #c251ac;
/* rgb */ color: rgb(194, 81, 172);
/* oklch */ color: oklch(61.1% 0.179 335.8);
Tailwind
colors: {
  custom: {
    50: '#d788c5',
    500: '#c251ac',
    950: '#000000',
  },
}
SCSS
$custom: #c251ac;
$custom-light: #d788c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c251ac",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 311.681,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61129,
    "c": 0.17914,
    "h": 335.8
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#C251AC
secondary
#9FD0A9
accent
#D86B50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C251AC

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

Preview Lab → · Contrast checker → · Palette generator →

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