#C03198#C03198

#C03198 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.6% C 0.206 H 341.7°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C03198
RGBrgb(192, 49, 152)
HSLhsl(317, 59%, 47%)
HSVhsv(317, 74%, 75%)
CMYKcmyk(0%, 74.5%, 20.8%, 24.7%)
CIE-LABlab(46.54, 65.10, -24.06)
CIE-LCHlch(46.54, 69.40, 339.72°)
OKLaboklab(56.64% 0.1953 -0.0647)
OKLCHoklch(56.64% 0.206 341.7)
XYZxyz(28.5050, 15.6730, 31.2237)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03198 #31C059
analogous
#A031C0 #C03198 #C03151
triadic
#C03198 #98C031 #3198C0
tetradic
#C03198 #C0A031 #31C059 #3151C0
square
#C03198 #C0A031 #31C059 #3151C0
split-complementary
#C03198 #51C031 #31C0A0
monochromatic
#5E184B #8F2571 #C03198 #D559B2 #E18AC9

Accessibility & contrast

On white

5.08
#C03198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C03198 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03198
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03198#FFFFFF#000000##FFFFFF
##C031981.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5F9B
Deuteranopia (green-blind)
#6B7795
Tritanopia (blue-blind)
#CC3361
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c03198;
/* rgb */ color: rgb(192, 49, 152);
/* oklch */ color: oklch(56.6% 0.206 341.7);
Tailwind
colors: {
  custom: {
    50: '#d777b6',
    500: '#c03198',
    950: '#000000',
  },
}
SCSS
$custom: #c03198;
$custom-light: #d777b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c03198",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 152
  },
  "hsl": {
    "h": 316.783,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56643,
    "c": 0.20574,
    "h": 341.7
  },
  "luminance": 0.1567
}

Semantic roles & 50–950 ramp

primary
#C03198
secondary
#82CB96
accent
#E37145
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C03198

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

Preview Lab → · Contrast checker → · Palette generator →

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