#C251A2#C251A2

#C251A2 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.172 H 340.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C251A2
RGBrgb(194, 81, 162)
HSLhsl(317, 48%, 54%)
HSVhsv(317, 58%, 76%)
CMYKcmyk(0%, 58.2%, 16.5%, 23.9%)
CIE-LABlab(51.80, 54.56, -21.86)
CIE-LCHlch(51.80, 58.77, 338.16°)
OKLaboklab(60.69% 0.1614 -0.0587)
OKLCHoklch(60.69% 0.172 340)
XYZxyz(31.7127, 19.9655, 36.3589)
Luminance0.1996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C251A2 #51C271
analogous
#AA51C2 #C251A2 #C2516A
triadic
#C251A2 #A2C251 #51A2C2
tetradic
#C251A2 #C2AA51 #51C271 #516AC2
square
#C251A2 #C2AA51 #51C271 #516AC2
split-complementary
#C251A2 #6AC251 #51C2AA
monochromatic
#71285C #9E3781 #C251A2 #D27EBA #E2ACD2

Accessibility & contrast

On white

4.21
#C251A2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#C251A2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C251A2
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C251A2#FFFFFF#000000##000000
##C251A21.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5770A5
Deuteranopia (green-blind)
#78829F
Tritanopia (blue-blind)
#CC5472
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c251a2;
/* rgb */ color: rgb(194, 81, 162);
/* oklch */ color: oklch(60.7% 0.172 340.0);
Tailwind
colors: {
  custom: {
    50: '#d788bd',
    500: '#c251a2',
    950: '#000000',
  },
}
SCSS
$custom: #c251a2;
$custom-light: #d788bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c251a2",
  "rgb": {
    "r": 194,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 316.991,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60686,
    "c": 0.17177,
    "h": 340
  },
  "luminance": 0.19963
}

Semantic roles & 50–950 ramp

primary
#C251A2
secondary
#9FD0AD
accent
#D87750
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C251A2

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

Preview Lab → · Contrast checker → · Palette generator →

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