#C03F8D#C03F8D

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

Color values

HEX#C03F8D
RGBrgb(192, 63, 141)
HSLhsl(324, 51%, 50%)
HSVhsv(324, 67%, 75%)
CMYKcmyk(0%, 67.2%, 26.6%, 24.7%)
CIE-LABlab(47.86, 58.70, -15.42)
CIE-LCHlch(47.86, 60.69, 345.28°)
OKLaboklab(57.46% 0.1779 -0.0407)
OKLCHoklch(57.46% 0.182 347.1)
XYZxyz(28.3246, 16.6875, 26.9235)
Luminance0.1668 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03F8D #3FC072
analogous
#B23FC0 #C03F8D #C03F4D
triadic
#C03F8D #8DC03F #3F8DC0
tetradic
#C03F8D #C0B23F #3FC072 #3F4DC0
square
#C03F8D #C0B23F #3FC072 #3F4DC0
split-complementary
#C03F8D #4DC03F #3FC0B2
monochromatic
#642149 #92306B #C03F8D #CF6DA8 #DE9BC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C03F8D#FFFFFF#000000##FFFFFF
##C03F8D1.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)
#4F638F
Deuteranopia (green-blind)
#747A8A
Tritanopia (blue-blind)
#CD3B60
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c03f8d;
/* rgb */ color: rgb(192, 63, 141);
/* oklch */ color: oklch(57.5% 0.182 347.1);
Tailwind
colors: {
  custom: {
    50: '#d77dae',
    500: '#c03f8d',
    950: '#000000',
  },
}
SCSS
$custom: #c03f8d;
$custom-light: #d77dae;
$custom-dark: #000000;
JSON
{
  "hex": "#c03f8d",
  "rgb": {
    "r": 192,
    "g": 63,
    "b": 141
  },
  "hsl": {
    "h": 323.721,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.5746,
    "c": 0.18246,
    "h": 347.1
  },
  "luminance": 0.16685
}

Semantic roles & 50–950 ramp

primary
#C03F8D
secondary
#91CAA7
accent
#DA854E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C03F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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