#C0335D#C0335D

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

Color values

HEX#C0335D
RGBrgb(192, 51, 93)
HSLhsl(342, 58%, 48%)
HSVhsv(342, 73%, 75%)
CMYKcmyk(0%, 73.4%, 51.6%, 24.7%)
CIE-LABlab(44.76, 58.05, 9.36)
CIE-LCHlch(44.76, 58.80, 9.15°)
OKLaboklab(54.68% 0.1768 0.0241)
OKLCHoklch(54.68% 0.178 7.8)
XYZxyz(24.9000, 14.3678, 11.8159)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0335D #33C096
analogous
#C033A3 #C0335D #C05033
triadic
#C0335D #5DC033 #335DC0
tetradic
#C0335D #A3C033 #33C096 #5033C0
square
#C0335D #A3C033 #33C096 #5033C0
split-complementary
#C0335D #33C050 #33A3C0
monochromatic
#5F192E #902646 #C0335D #D45C80 #E18DA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0335D#FFFFFF#000000##FFFFFF
##C0335D1.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)
#56585E
Deuteranopia (green-blind)
#7B745A
Tritanopia (blue-blind)
#D11144
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c0335d;
/* rgb */ color: rgb(192, 51, 93);
/* oklch */ color: oklch(54.7% 0.178 7.8);
Tailwind
colors: {
  custom: {
    50: '#d9768a',
    500: '#c0335d',
    950: '#000000',
  },
}
SCSS
$custom: #c0335d;
$custom-light: #d9768a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0335d",
  "rgb": {
    "r": 192,
    "g": 51,
    "b": 93
  },
  "hsl": {
    "h": 342.128,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54675,
    "c": 0.17843,
    "h": 7.8
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#C0335D
secondary
#84CBB6
accent
#E1B347
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C0335D

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

Preview Lab → · Contrast checker → · Palette generator →

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