#C03166#C03166

#C03166 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.8% C 0.183 H 3.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C03166
RGBrgb(192, 49, 102)
HSLhsl(338, 59%, 47%)
HSVhsv(338, 74%, 75%)
CMYKcmyk(0%, 74.5%, 46.9%, 24.7%)
CIE-LABlab(44.75, 59.50, 3.77)
CIE-LCHlch(44.75, 59.62, 3.63°)
OKLaboklab(54.75% 0.1822 0.0103)
OKLCHoklch(54.75% 0.183 3.2)
XYZxyz(25.2369, 14.3658, 14.0117)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03166 #31C08B
analogous
#C031AE #C03166 #C04331
triadic
#C03166 #66C031 #3166C0
tetradic
#C03166 #AEC031 #31C08B #4331C0
square
#C03166 #AEC031 #31C08B #4331C0
split-complementary
#C03166 #31C043 #31AEC0
monochromatic
#5E1832 #8F254C #C03166 #D55987 #E18AAA

Accessibility & contrast

On white

5.42
#C03166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#C03166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03166
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03166#FFFFFF#000000##FFFFFF
##C031661.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525867
Deuteranopia (green-blind)
#797463
Tritanopia (blue-blind)
#D11448
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c03166;
/* rgb */ color: rgb(192, 49, 102);
/* oklch */ color: oklch(54.8% 0.183 3.2);
Tailwind
colors: {
  custom: {
    50: '#d97691',
    500: '#c03166',
    950: '#000000',
  },
}
SCSS
$custom: #c03166;
$custom-light: #d97691;
$custom-dark: #000000;
JSON
{
  "hex": "#c03166",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 337.762,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54751,
    "c": 0.18253,
    "h": 3.2
  },
  "luminance": 0.14362
}

Semantic roles & 50–950 ramp

primary
#C03166
secondary
#82CBB0
accent
#E3A845
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C03166

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

Preview Lab → · Contrast checker → · Palette generator →

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