#C03A9F#C03A9F

#C03A9F is a mid, vivid pink. Relative luminance 0.167; OKLCH L 57.8% C 0.200 H 339.4°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C03A9F
RGBrgb(192, 58, 159)
HSLhsl(315, 54%, 49%)
HSVhsv(315, 70%, 75%)
CMYKcmyk(0%, 69.8%, 17.2%, 24.7%)
CIE-LABlab(47.93, 63.01, -26.09)
CIE-LCHlch(47.93, 68.20, 337.51°)
OKLaboklab(57.75% 0.1872 -0.0705)
OKLCHoklch(57.75% 0.2 339.4)
XYZxyz(29.5100, 16.7386, 34.4709)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03A9F #3AC05B
analogous
#9E3AC0 #C03A9F #C03A5C
triadic
#C03A9F #9FC03A #3A9FC0
tetradic
#C03A9F #C09E3A #3AC05B #3A5CC0
square
#C03A9F #C09E3A #3AC05B #3A5CC0
split-complementary
#C03A9F #5CC03A #3AC09E
monochromatic
#621E51 #912C78 #C03A9F #D166B7 #DF95CD

Accessibility & contrast

On white

4.83
#C03A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C03A9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03A9F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03A9F#FFFFFF#000000##FFFFFF
##C03A9F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4264A2
Deuteranopia (green-blind)
#6C799C
Tritanopia (blue-blind)
#CB3F68
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c03a9f;
/* rgb */ color: rgb(192, 58, 159);
/* oklch */ color: oklch(57.8% 0.200 339.4);
Tailwind
colors: {
  custom: {
    50: '#d77bbb',
    500: '#c03a9f',
    950: '#000000',
  },
}
SCSS
$custom: #c03a9f;
$custom-light: #d77bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#c03a9f",
  "rgb": {
    "r": 192,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 314.776,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5775,
    "c": 0.19998,
    "h": 339.4
  },
  "luminance": 0.16736
}

Semantic roles & 50–950 ramp

primary
#C03A9F
secondary
#8BCA9B
accent
#DD6F4B
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C03A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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