#C2478E#C2478E

#C2478E is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.7% C 0.174 H 348.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C2478E
RGBrgb(194, 71, 142)
HSLhsl(325, 50%, 52%)
HSVhsv(325, 63%, 76%)
CMYKcmyk(0%, 63.4%, 26.8%, 23.9%)
CIE-LABlab(49.41, 56.14, -13.64)
CIE-LCHlch(49.41, 57.77, 346.34°)
OKLaboklab(58.68% 0.17 -0.0358)
OKLCHoklch(58.68% 0.174 348.1)
XYZxyz(29.3851, 17.9318, 27.4996)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2478E #47C27B
analogous
#B947C2 #C2478E #C24751
triadic
#C2478E #8EC247 #478EC2
tetradic
#C2478E #C2B947 #47C27B #4751C2
square
#C2478E #C2B947 #47C27B #4751C2
split-complementary
#C2478E #51C247 #47C2B9
monochromatic
#6B244D #99336E #C2478E #D175AA #E0A3C6

Accessibility & contrast

On white

4.58
#C2478E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#C2478E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C2478E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2478E#FFFFFF#000000##000000
##C2478E1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#566890
Deuteranopia (green-blind)
#797D8B
Tritanopia (blue-blind)
#CF4364
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c2478e;
/* rgb */ color: rgb(194, 71, 142);
/* oklch */ color: oklch(58.7% 0.174 348.1);
Tailwind
colors: {
  custom: {
    50: '#d882af',
    500: '#c2478e',
    950: '#000000',
  },
}
SCSS
$custom: #c2478e;
$custom-light: #d882af;
$custom-dark: #000000;
JSON
{
  "hex": "#c2478e",
  "rgb": {
    "r": 194,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 325.366,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58675,
    "c": 0.17375,
    "h": 348.1
  },
  "luminance": 0.17929
}

Semantic roles & 50–950 ramp

primary
#C2478E
secondary
#97CDAE
accent
#DA894E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C2478E

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

Preview Lab → · Contrast checker → · Palette generator →

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