#C03797#C03797

#C03797 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.1% C 0.198 H 342.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C03797
RGBrgb(192, 55, 151)
HSLhsl(318, 55%, 48%)
HSVhsv(318, 71%, 75%)
CMYKcmyk(0%, 71.4%, 21.4%, 24.7%)
CIE-LABlab(47.20, 62.97, -22.43)
CIE-LCHlch(47.20, 66.85, 340.39°)
OKLaboklab(57.11% 0.1891 -0.0601)
OKLCHoklch(57.11% 0.198 342.4)
XYZxyz(28.6913, 16.1761, 30.8834)
Luminance0.1617 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03797 #37C060
analogous
#A437C0 #C03797 #C03752
triadic
#C03797 #97C037 #3797C0
tetradic
#C03797 #C0A437 #37C060 #3752C0
square
#C03797 #C0A437 #37C060 #3752C0
split-complementary
#C03797 #52C037 #37C0A4
monochromatic
#611C4C #902972 #C03797 #D262B1 #E092C8

Accessibility & contrast

On white

4.96
#C03797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C03797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03797
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03797#FFFFFF#000000##FFFFFF
##C037971.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44629A
Deuteranopia (green-blind)
#6E7894
Tritanopia (blue-blind)
#CC3862
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c03797;
/* rgb */ color: rgb(192, 55, 151);
/* oklch */ color: oklch(57.1% 0.198 342.4);
Tailwind
colors: {
  custom: {
    50: '#d77ab5',
    500: '#c03797',
    950: '#000000',
  },
}
SCSS
$custom: #c03797;
$custom-light: #d77ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#c03797",
  "rgb": {
    "r": 192,
    "g": 55,
    "b": 151
  },
  "hsl": {
    "h": 317.956,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5711,
    "c": 0.19839,
    "h": 342.4
  },
  "luminance": 0.16173
}

Semantic roles & 50–950 ramp

primary
#C03797
secondary
#88CB9C
accent
#DF7649
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C03797

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

Preview Lab → · Contrast checker → · Palette generator →

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