#C04287#C04287

#C04287 is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.5% C 0.175 H 350.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C04287
RGBrgb(192, 66, 135)
HSLhsl(327, 50%, 51%)
HSVhsv(327, 66%, 75%)
CMYKcmyk(0%, 65.6%, 29.7%, 24.7%)
CIE-LABlab(48.08, 56.74, -11.49)
CIE-LCHlch(48.08, 57.89, 348.56°)
OKLaboklab(57.55% 0.1726 -0.0299)
OKLCHoklch(57.55% 0.175 350.2)
XYZxyz(28.0609, 16.8551, 24.6926)
Luminance0.1685 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04287 #42C07B
analogous
#BA42C0 #C04287 #C04248
triadic
#C04287 #87C042 #4287C0
tetradic
#C04287 #C0BA42 #42C07B #4248C0
square
#C04287 #C0BA42 #42C07B #4248C0
split-complementary
#C04287 #48C042 #42C0BA
monochromatic
#662247 #943167 #C04287 #CF70A4 #DF9EC1

Accessibility & contrast

On white

4.81
#C04287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C04287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04287
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04287#FFFFFF#000000##FFFFFF
##C042871.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546489
Deuteranopia (green-blind)
#777A84
Tritanopia (blue-blind)
#CE3C5F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c04287;
/* rgb */ color: rgb(192, 66, 135);
/* oklch */ color: oklch(57.5% 0.175 350.2);
Tailwind
colors: {
  custom: {
    50: '#d77faa',
    500: '#c04287',
    950: '#000000',
  },
}
SCSS
$custom: #c04287;
$custom-light: #d77faa;
$custom-dark: #000000;
JSON
{
  "hex": "#c04287",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 135
  },
  "hsl": {
    "h": 327.143,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57545,
    "c": 0.17519,
    "h": 350.2
  },
  "luminance": 0.16852
}

Semantic roles & 50–950 ramp

primary
#C04287
secondary
#93CBAC
accent
#DA8D4E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C04287

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

Preview Lab → · Contrast checker → · Palette generator →

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