#C7387B#C7387B

#C7387B is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.2% C 0.188 H 356.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C7387B
RGBrgb(199, 56, 123)
HSLhsl(332, 56%, 50%)
HSVhsv(332, 72%, 78%)
CMYKcmyk(0%, 71.9%, 38.2%, 22%)
CIE-LABlab(47.50, 61.13, -4.96)
CIE-LCHlch(47.50, 61.33, 355.36°)
OKLaboklab(57.21% 0.1875 -0.0123)
OKLCHoklch(57.21% 0.188 356.3)
XYZxyz(28.5444, 16.4040, 20.3982)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7387B #38C784
analogous
#C738C2 #C7387B #C73D38
triadic
#C7387B #7BC738 #387BC7
tetradic
#C7387B #C2C738 #38C784 #3D38C7
square
#C7387B #C2C738 #38C784 #3D38C7
split-complementary
#C7387B #38C73D #38C2C7
monochromatic
#671D40 #972B5D #C7387B #D4689B #E298BA

Accessibility & contrast

On white

4.91
#C7387B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C7387B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7387B
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7387B#FFFFFF#000000##FFFFFF
##C7387B1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607D
Deuteranopia (green-blind)
#7B7A78
Tritanopia (blue-blind)
#D72855
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c7387b;
/* rgb */ color: rgb(199, 56, 123);
/* oklch */ color: oklch(57.2% 0.188 356.3);
Tailwind
colors: {
  custom: {
    50: '#dd7aa1',
    500: '#c7387b',
    950: '#000000',
  },
}
SCSS
$custom: #c7387b;
$custom-light: #dd7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c7387b",
  "rgb": {
    "r": 199,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 331.888,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.57212,
    "c": 0.18791,
    "h": 356.3
  },
  "luminance": 0.16401
}

Semantic roles & 50–950 ramp

primary
#C7387B
secondary
#8DCDAF
accent
#DF9948
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C7387B

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

Preview Lab → · Contrast checker → · Palette generator →

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