#C03298#C03298

#C03298 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.7% C 0.205 H 341.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C03298
RGBrgb(192, 50, 152)
HSLhsl(317, 59%, 47%)
HSVhsv(317, 74%, 75%)
CMYKcmyk(0%, 74%, 20.8%, 24.7%)
CIE-LABlab(46.65, 64.78, -23.88)
CIE-LCHlch(46.65, 69.04, 339.76°)
OKLaboklab(56.73% 0.1943 -0.0642)
OKLCHoklch(56.73% 0.205 341.7)
XYZxyz(28.5473, 15.7576, 31.2378)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03298 #32C05A
analogous
#A132C0 #C03298 #C03251
triadic
#C03298 #98C032 #3298C0
tetradic
#C03298 #C0A132 #32C05A #3251C0
square
#C03298 #C0A132 #32C05A #3251C0
split-complementary
#C03298 #51C032 #32C0A1
monochromatic
#5F194B #8F2572 #C03298 #D45BB2 #E18BC9

Accessibility & contrast

On white

5.06
#C03298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C03298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03298
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03298#FFFFFF#000000##FFFFFF
##C032981.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609B
Deuteranopia (green-blind)
#6C7795
Tritanopia (blue-blind)
#CC3461
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c03298;
/* rgb */ color: rgb(192, 50, 152);
/* oklch */ color: oklch(56.7% 0.205 341.7);
Tailwind
colors: {
  custom: {
    50: '#d778b6',
    500: '#c03298',
    950: '#000000',
  },
}
SCSS
$custom: #c03298;
$custom-light: #d778b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c03298",
  "rgb": {
    "r": 192,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 316.901,
    "s": 58.678,
    "l": 47.451
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.20467,
    "h": 341.7
  },
  "luminance": 0.15755
}

Semantic roles & 50–950 ramp

primary
#C03298
secondary
#83CB97
accent
#E27246
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C03298

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

Preview Lab → · Contrast checker → · Palette generator →

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