#C03A9E#C03A9E

#C03A9E is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.7% C 0.199 H 339.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#C03A9E
RGBrgb(192, 58, 158)
HSLhsl(315, 54%, 49%)
HSVhsv(315, 70%, 75%)
CMYKcmyk(0%, 69.8%, 17.7%, 24.7%)
CIE-LABlab(47.88, 62.87, -25.56)
CIE-LCHlch(47.88, 67.87, 337.88°)
OKLaboklab(57.7% 0.187 -0.069)
OKLCHoklch(57.7% 0.199 339.7)
XYZxyz(29.4236, 16.7040, 34.0157)
Luminance0.1670 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03A9E #3AC05C
analogous
#9F3AC0 #C03A9E #C03A5B
triadic
#C03A9E #9EC03A #3A9EC0
tetradic
#C03A9E #C09F3A #3AC05C #3A5BC0
square
#C03A9E #C09F3A #3AC05C #3A5BC0
split-complementary
#C03A9E #5BC03A #3AC09F
monochromatic
#621E51 #912C77 #C03A9E #D166B6 #DF95CC

Accessibility & contrast

On white

4.84
#C03A9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#C03A9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03A9E
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03A9E#FFFFFF#000000##FFFFFF
##C03A9E1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4264A1
Deuteranopia (green-blind)
#6D799B
Tritanopia (blue-blind)
#CB3E67
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c03a9e;
/* rgb */ color: rgb(192, 58, 158);
/* oklch */ color: oklch(57.7% 0.199 339.7);
Tailwind
colors: {
  custom: {
    50: '#d77bbb',
    500: '#c03a9e',
    950: '#000000',
  },
}
SCSS
$custom: #c03a9e;
$custom-light: #d77bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#c03a9e",
  "rgb": {
    "r": 192,
    "g": 58,
    "b": 158
  },
  "hsl": {
    "h": 315.224,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57703,
    "c": 0.19931,
    "h": 339.7
  },
  "luminance": 0.16701
}

Semantic roles & 50–950 ramp

primary
#C03A9E
secondary
#8BCA9B
accent
#DD704B
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C03A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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