#C251AA#C251AA

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

Color values

HEX#C251AA
RGBrgb(194, 81, 170)
HSLhsl(313, 48%, 54%)
HSVhsv(313, 58%, 76%)
CMYKcmyk(0%, 58.2%, 12.4%, 23.9%)
CIE-LABlab(52.13, 55.79, -26.04)
CIE-LCHlch(52.13, 61.57, 334.98°)
OKLaboklab(61.04% 0.163 -0.0705)
OKLCHoklch(61.04% 0.178 336.6)
XYZxyz(32.4466, 20.2590, 40.2239)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251AA #51C269
analogous
#A251C2 #C251AA #C25172
triadic
#C251AA #AAC251 #51AAC2
tetradic
#C251AA #C2A251 #51C269 #5172C2
square
#C251AA #C2A251 #51C269 #5172C2
split-complementary
#C251AA #72C251 #51C2A2
monochromatic
#712861 #9E3788 #C251AA #D27EC0 #E2ACD6

Accessibility & contrast

On white

4.16
#C251AA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#C251AA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251AA
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251AA#FFFFFF#000000##000000
##C251AA1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5371AD
Deuteranopia (green-blind)
#7583A7
Tritanopia (blue-blind)
#CB5676
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c251aa;
/* rgb */ color: rgb(194, 81, 170);
/* oklch */ color: oklch(61.0% 0.178 336.6);
Tailwind
colors: {
  custom: {
    50: '#d788c3',
    500: '#c251aa',
    950: '#000000',
  },
}
SCSS
$custom: #c251aa;
$custom-light: #d788c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c251aa",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 312.743,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61038,
    "c": 0.17761,
    "h": 336.6
  },
  "luminance": 0.20256
}

Semantic roles & 50–950 ramp

primary
#C251AA
secondary
#9FD0AA
accent
#D86D50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C251AA

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

Preview Lab → · Contrast checker → · Palette generator →

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