#C451A2#C451A2

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

Color values

HEX#C451A2
RGBrgb(196, 81, 162)
HSLhsl(318, 49%, 54%)
HSVhsv(318, 59%, 77%)
CMYKcmyk(0%, 58.7%, 17.3%, 23.1%)
CIE-LABlab(52.10, 55.14, -21.37)
CIE-LCHlch(52.10, 59.14, 338.81°)
OKLaboklab(60.97% 0.1635 -0.0573)
OKLCHoklch(60.97% 0.173 340.7)
XYZxyz(32.2296, 20.2320, 36.3831)
Luminance0.2023 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C451A2 #51C473
analogous
#AD51C4 #C451A2 #C45169
triadic
#C451A2 #A2C451 #51A2C4
tetradic
#C451A2 #C4AD51 #51C473 #5169C4
square
#C451A2 #C4AD51 #51C473 #5169C4
split-complementary
#C451A2 #69C451 #51C4AD
monochromatic
#73275D #A13782 #C451A2 #D37FBA #E3ACD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C451A2#FFFFFF#000000##000000
##C451A21.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)
#5871A5
Deuteranopia (green-blind)
#79839F
Tritanopia (blue-blind)
#CF5372
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c451a2;
/* rgb */ color: rgb(196, 81, 162);
/* oklch */ color: oklch(61.0% 0.173 340.7);
Tailwind
colors: {
  custom: {
    50: '#d988bd',
    500: '#c451a2',
    950: '#000000',
  },
}
SCSS
$custom: #c451a2;
$custom-light: #d988bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c451a2",
  "rgb": {
    "r": 196,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 317.739,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60967,
    "c": 0.17329,
    "h": 340.7
  },
  "luminance": 0.20229
}

Semantic roles & 50–950 ramp

primary
#C451A2
secondary
#A0D1AE
accent
#D9784F
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C451A2

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

Preview Lab → · Contrast checker → · Palette generator →

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