#C0299E#C0299E

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

Color values

HEX#C0299E
RGBrgb(192, 41, 158)
HSLhsl(314, 65%, 46%)
HSVhsv(314, 79%, 75%)
CMYKcmyk(0%, 78.6%, 17.7%, 24.7%)
CIE-LABlab(45.99, 68.24, -28.50)
CIE-LCHlch(45.99, 73.96, 337.33°)
OKLaboklab(56.34% 0.2032 -0.0772)
OKLCHoklch(56.34% 0.217 339.2)
XYZxyz(28.7035, 15.2638, 33.7757)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0299E #29C04B
analogous
#9629C0 #C0299E #C02952
triadic
#C0299E #9EC029 #299EC0
tetradic
#C0299E #C09629 #29C04B #2952C0
square
#C0299E #C09629 #29C04B #2952C0
split-complementary
#C0299E #52C029 #29C096
monochromatic
#5B134B #8E1E74 #C0299E #D94DBA #E480CD

Accessibility & contrast

On white

5.18
#C0299E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C0299E
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0299E#FFFFFF#000000##FFFFFF
##C0299E1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335EA1
Deuteranopia (green-blind)
#67759B
Tritanopia (blue-blind)
#CB3062
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c0299e;
/* rgb */ color: rgb(192, 41, 158);
/* oklch */ color: oklch(56.3% 0.217 339.2);
Tailwind
colors: {
  custom: {
    50: '#d774bb',
    500: '#c0299e',
    950: '#000000',
  },
}
SCSS
$custom: #c0299e;
$custom-light: #d774bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c0299e",
  "rgb": {
    "r": 192,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 313.51,
    "s": 64.807,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56335,
    "c": 0.2174,
    "h": 339.2
  },
  "luminance": 0.15261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0299E

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

Preview Lab → · Contrast checker → · Palette generator →

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