#C0299D#C0299D

#C0299D is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.3% C 0.217 H 339.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#C0299D
RGBrgb(192, 41, 157)
HSLhsl(314, 65%, 46%)
HSVhsv(314, 79%, 75%)
CMYKcmyk(0%, 78.6%, 18.2%, 24.7%)
CIE-LABlab(45.95, 68.11, -27.98)
CIE-LCHlch(45.95, 73.63, 337.67°)
OKLaboklab(56.29% 0.2031 -0.0757)
OKLCHoklch(56.29% 0.217 339.6)
XYZxyz(28.6178, 15.2296, 33.3242)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0299D #29C04C
analogous
#9729C0 #C0299D #C02952
triadic
#C0299D #9DC029 #299DC0
tetradic
#C0299D #C09729 #29C04C #2952C0
square
#C0299D #C09729 #29C04C #2952C0
split-complementary
#C0299D #52C029 #29C097
monochromatic
#5B134B #8E1E74 #C0299D #D94DB9 #E480CD

Accessibility & contrast

On white

5.19
#C0299D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#C0299D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0299D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0299D#FFFFFF#000000##FFFFFF
##C0299D1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345EA0
Deuteranopia (green-blind)
#67759A
Tritanopia (blue-blind)
#CB3061
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c0299d;
/* rgb */ color: rgb(192, 41, 157);
/* oklch */ color: oklch(56.3% 0.217 339.6);
Tailwind
colors: {
  custom: {
    50: '#d774ba',
    500: '#c0299d',
    950: '#000000',
  },
}
SCSS
$custom: #c0299d;
$custom-light: #d774ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c0299d",
  "rgb": {
    "r": 192,
    "g": 41,
    "b": 157
  },
  "hsl": {
    "h": 313.907,
    "s": 64.807,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56286,
    "c": 0.21677,
    "h": 339.6
  },
  "luminance": 0.15227
}

Semantic roles & 50–950 ramp

primary
#C0299D
secondary
#78CC8C
accent
#E86740
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C0299D

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

Preview Lab → · Contrast checker → · Palette generator →

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