#C0299F#C0299F

#C0299F is a mid, highly saturated pink. Relative luminance 0.153; OKLCH L 56.4% C 0.218 H 338.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C0299F
RGBrgb(192, 41, 159)
HSLhsl(313, 65%, 46%)
HSVhsv(313, 79%, 75%)
CMYKcmyk(0%, 78.6%, 17.2%, 24.7%)
CIE-LABlab(46.04, 68.38, -29.03)
CIE-LCHlch(46.04, 74.28, 337.00°)
OKLaboklab(56.38% 0.2033 -0.0787)
OKLCHoklch(56.38% 0.218 338.8)
XYZxyz(28.7899, 15.2984, 34.2308)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0299F #29C04A
analogous
#9629C0 #C0299F #C02953
triadic
#C0299F #9FC029 #299FC0
tetradic
#C0299F #C09629 #29C04A #2953C0
square
#C0299F #C09629 #29C04A #2953C0
split-complementary
#C0299F #53C029 #29C096
monochromatic
#5B134B #8E1E75 #C0299F #D94DBA #E480CE

Accessibility & contrast

On white

5.17
#C0299F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#C0299F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0299F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0299F#FFFFFF#000000##FFFFFF
##C0299F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA2
Deuteranopia (green-blind)
#66759C
Tritanopia (blue-blind)
#CB3162
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c0299f;
/* rgb */ color: rgb(192, 41, 159);
/* oklch */ color: oklch(56.4% 0.218 338.8);
Tailwind
colors: {
  custom: {
    50: '#d774bb',
    500: '#c0299f',
    950: '#000000',
  },
}
SCSS
$custom: #c0299f;
$custom-light: #d774bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c0299f",
  "rgb": {
    "r": 192,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 313.113,
    "s": 64.807,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56384,
    "c": 0.21804,
    "h": 338.8
  },
  "luminance": 0.15296
}

Semantic roles & 50–950 ramp

primary
#C0299F
secondary
#78CC8B
accent
#E86540
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C0299F

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

Preview Lab → · Contrast checker → · Palette generator →

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