#C9478E#C9478E

#C9478E is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.7% C 0.180 H 350.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C9478E
RGBrgb(201, 71, 142)
HSLhsl(327, 55%, 53%)
HSVhsv(327, 65%, 79%)
CMYKcmyk(0%, 64.7%, 29.4%, 21.2%)
CIE-LABlab(50.55, 58.16, -11.82)
CIE-LCHlch(50.55, 59.35, 348.52°)
OKLaboklab(59.73% 0.1769 -0.0308)
OKLCHoklch(59.73% 0.18 350.1)
XYZxyz(31.2246, 18.8803, 27.5858)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9478E #47C982
analogous
#C347C9 #C9478E #C9474D
triadic
#C9478E #8EC947 #478EC9
tetradic
#C9478E #C9C347 #47C982 #474DC9
square
#C9478E #C9C347 #47C982 #474DC9
split-complementary
#C9478E #4DC947 #47C9C3
monochromatic
#74224F #A3306F #C9478E #D776AB #E5A6C8

Accessibility & contrast

On white

4.40
#C9478E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C9478E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C9478E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C9478E#FFFFFF#000000##000000
##C9478E1.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#596A90
Deuteranopia (green-blind)
#7E818B
Tritanopia (blue-blind)
#D74164
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c9478e;
/* rgb */ color: rgb(201, 71, 142);
/* oklch */ color: oklch(59.7% 0.180 350.1);
Tailwind
colors: {
  custom: {
    50: '#dd82af',
    500: '#c9478e',
    950: '#000000',
  },
}
SCSS
$custom: #c9478e;
$custom-light: #dd82af;
$custom-dark: #000000;
JSON
{
  "hex": "#c9478e",
  "rgb": {
    "r": 201,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 327.231,
    "s": 54.622,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5973,
    "c": 0.17952,
    "h": 350.1
  },
  "luminance": 0.18877
}

Semantic roles & 50–950 ramp

primary
#C9478E
secondary
#9AD2B3
accent
#DE8D4A
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #C9478E

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

Preview Lab → · Contrast checker → · Palette generator →

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