#C251AB#C251AB

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

Color values

HEX#C251AB
RGBrgb(194, 81, 171)
HSLhsl(312, 48%, 54%)
HSVhsv(312, 58%, 76%)
CMYKcmyk(0%, 58.2%, 11.9%, 23.9%)
CIE-LABlab(52.17, 55.94, -26.56)
CIE-LCHlch(52.17, 61.93, 334.60°)
OKLaboklab(61.08% 0.1632 -0.072)
OKLCHoklch(61.08% 0.178 336.2)
XYZxyz(32.5416, 20.2970, 40.7240)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251AB #51C268
analogous
#A151C2 #C251AB #C25173
triadic
#C251AB #ABC251 #51ABC2
tetradic
#C251AB #C2A151 #51C268 #5173C2
square
#C251AB #C2A151 #51C268 #5173C2
split-complementary
#C251AB #73C251 #51C2A1
monochromatic
#712862 #9E3789 #C251AB #D27EC1 #E2ACD7

Accessibility & contrast

On white

4.15
#C251AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#C251AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251AB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251AB#FFFFFF#000000##000000
##C251AB1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5272AE
Deuteranopia (green-blind)
#7483A8
Tritanopia (blue-blind)
#CB5777
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c251ab;
/* rgb */ color: rgb(194, 81, 171);
/* oklch */ color: oklch(61.1% 0.178 336.2);
Tailwind
colors: {
  custom: {
    50: '#d788c4',
    500: '#c251ab',
    950: '#000000',
  },
}
SCSS
$custom: #c251ab;
$custom-light: #d788c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c251ab",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 171
  },
  "hsl": {
    "h": 312.212,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61083,
    "c": 0.17837,
    "h": 336.2
  },
  "luminance": 0.20294
}

Semantic roles & 50–950 ramp

primary
#C251AB
secondary
#9FD0A9
accent
#D86C50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C251AB

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

Preview Lab → · Contrast checker → · Palette generator →

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