#C03F7D#C03F7D

#C03F7D is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.9% C 0.174 H 354.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C03F7D
RGBrgb(192, 63, 125)
HSLhsl(331, 51%, 50%)
HSVhsv(331, 67%, 75%)
CMYKcmyk(0%, 67.2%, 34.9%, 24.7%)
CIE-LABlab(47.29, 56.75, -6.61)
CIE-LCHlch(47.29, 57.13, 353.36°)
OKLaboklab(56.86% 0.1735 -0.0167)
OKLCHoklch(56.86% 0.174 354.5)
XYZxyz(27.2190, 16.2452, 21.1003)
Luminance0.1624 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03F7D #3FC082
analogous
#C03FBD #C03F7D #C0423F
triadic
#C03F7D #7DC03F #3F7DC0
tetradic
#C03F7D #BDC03F #3FC082 #423FC0
square
#C03F7D #BDC03F #3FC082 #423FC0
split-complementary
#C03F7D #3FC042 #3FBDC0
monochromatic
#642141 #92305F #C03F7D #CF6D9C #DE9BBB

Accessibility & contrast

On white

4.94
#C03F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C03F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03F7D
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03F7D#FFFFFF#000000##FFFFFF
##C03F7D1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55617F
Deuteranopia (green-blind)
#79797A
Tritanopia (blue-blind)
#CF3559
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c03f7d;
/* rgb */ color: rgb(192, 63, 125);
/* oklch */ color: oklch(56.9% 0.174 354.5);
Tailwind
colors: {
  custom: {
    50: '#d77da2',
    500: '#c03f7d',
    950: '#000000',
  },
}
SCSS
$custom: #c03f7d;
$custom-light: #d77da2;
$custom-dark: #000000;
JSON
{
  "hex": "#c03f7d",
  "rgb": {
    "r": 192,
    "g": 63,
    "b": 125
  },
  "hsl": {
    "h": 331.163,
    "s": 50.588,
    "l": 50
  },
  "oklch": {
    "l": 0.56855,
    "c": 0.17433,
    "h": 354.5
  },
  "luminance": 0.16242
}

Semantic roles & 50–950 ramp

primary
#C03F7D
secondary
#91CAAF
accent
#DA974E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #C03F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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