#C03798#C03798

#C03798 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 57.2% C 0.199 H 342.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C03798
RGBrgb(192, 55, 152)
HSLhsl(318, 55%, 48%)
HSVhsv(318, 71%, 75%)
CMYKcmyk(0%, 71.4%, 20.8%, 24.7%)
CIE-LABlab(47.25, 63.11, -22.97)
CIE-LCHlch(47.25, 67.16, 340.00°)
OKLaboklab(57.16% 0.1892 -0.0616)
OKLCHoklch(57.16% 0.199 342)
XYZxyz(28.7728, 16.2087, 31.3130)
Luminance0.1621 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03798 #37C05F
analogous
#A337C0 #C03798 #C03753
triadic
#C03798 #98C037 #3798C0
tetradic
#C03798 #C0A337 #37C05F #3753C0
square
#C03798 #C0A337 #37C05F #3753C0
split-complementary
#C03798 #53C037 #37C0A3
monochromatic
#611C4D #902972 #C03798 #D262B1 #E092C9

Accessibility & contrast

On white

4.95
#C03798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#C03798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03798
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03798#FFFFFF#000000##FFFFFF
##C037981.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43629B
Deuteranopia (green-blind)
#6E7895
Tritanopia (blue-blind)
#CC3963
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c03798;
/* rgb */ color: rgb(192, 55, 152);
/* oklch */ color: oklch(57.2% 0.199 342.0);
Tailwind
colors: {
  custom: {
    50: '#d77ab6',
    500: '#c03798',
    950: '#000000',
  },
}
SCSS
$custom: #c03798;
$custom-light: #d77ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#c03798",
  "rgb": {
    "r": 192,
    "g": 55,
    "b": 152
  },
  "hsl": {
    "h": 317.518,
    "s": 55.466,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57155,
    "c": 0.19902,
    "h": 342
  },
  "luminance": 0.16206
}

Semantic roles & 50–950 ramp

primary
#C03798
secondary
#88CB9C
accent
#DF7549
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C03798

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

Preview Lab → · Contrast checker → · Palette generator →

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