#C02997#C02997

#C02997 is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 56.0% C 0.213 H 341.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C02997
RGBrgb(192, 41, 151)
HSLhsl(316, 65%, 46%)
HSVhsv(316, 79%, 75%)
CMYKcmyk(0%, 78.6%, 21.4%, 24.7%)
CIE-LABlab(45.67, 67.32, -24.80)
CIE-LCHlch(45.67, 71.74, 339.78°)
OKLaboklab(56% 0.2024 -0.0667)
OKLCHoklch(56% 0.213 341.8)
XYZxyz(28.1181, 15.0297, 30.6924)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02997 #29C052
analogous
#9D29C0 #C02997 #C0294C
triadic
#C02997 #97C029 #2997C0
tetradic
#C02997 #C09D29 #29C052 #294CC0
square
#C02997 #C09D29 #29C052 #294CC0
split-complementary
#C02997 #4CC029 #29C09D
monochromatic
#5B1348 #8E1E6F #C02997 #D94DB3 #E480C9

Accessibility & contrast

On white

5.24
#C02997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#C02997 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02997
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02997#FFFFFF#000000##FFFFFF
##C029971.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385D9A
Deuteranopia (green-blind)
#697594
Tritanopia (blue-blind)
#CC2C5E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c02997;
/* rgb */ color: rgb(192, 41, 151);
/* oklch */ color: oklch(56.0% 0.213 341.8);
Tailwind
colors: {
  custom: {
    50: '#d774b6',
    500: '#c02997',
    950: '#000000',
  },
}
SCSS
$custom: #c02997;
$custom-light: #d774b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c02997",
  "rgb": {
    "r": 192,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 316.291,
    "s": 64.807,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56002,
    "c": 0.21306,
    "h": 341.8
  },
  "luminance": 0.15027
}

Semantic roles & 50–950 ramp

primary
#C02997
secondary
#78CC8F
accent
#E86E40
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C02997

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

Preview Lab → · Contrast checker → · Palette generator →

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