#C0335B#C0335B

#C0335B is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.6% C 0.178 H 8.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#C0335B
RGBrgb(192, 51, 91)
HSLhsl(343, 58%, 48%)
HSVhsv(343, 73%, 75%)
CMYKcmyk(0%, 73.4%, 52.6%, 24.7%)
CIE-LABlab(44.71, 57.89, 10.53)
CIE-LCHlch(44.71, 58.84, 10.31°)
OKLaboklab(54.62% 0.176 0.027)
OKLCHoklch(54.62% 0.178 8.7)
XYZxyz(24.8126, 14.3329, 11.3554)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0335B #33C098
analogous
#C033A1 #C0335B #C05233
triadic
#C0335B #5BC033 #335BC0
tetradic
#C0335B #A1C033 #33C098 #5233C0
square
#C0335B #A1C033 #33C098 #5233C0
split-complementary
#C0335B #33C052 #33A1C0
monochromatic
#5F192D #902644 #C0335B #D45C7E #E18DA5

Accessibility & contrast

On white

5.43
#C0335B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C0335B
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0335B#FFFFFF#000000##FFFFFF
##C0335B1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56585C
Deuteranopia (green-blind)
#7B7458
Tritanopia (blue-blind)
#D10F44
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c0335b;
/* rgb */ color: rgb(192, 51, 91);
/* oklch */ color: oklch(54.6% 0.178 8.7);
Tailwind
colors: {
  custom: {
    50: '#d97689',
    500: '#c0335b',
    950: '#000000',
  },
}
SCSS
$custom: #c0335b;
$custom-light: #d97689;
$custom-dark: #000000;
JSON
{
  "hex": "#c0335b",
  "rgb": {
    "r": 192,
    "g": 51,
    "b": 91
  },
  "hsl": {
    "h": 342.979,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54623,
    "c": 0.17809,
    "h": 8.7
  },
  "luminance": 0.14329
}

Semantic roles & 50–950 ramp

primary
#C0335B
secondary
#84CBB7
accent
#E1B547
background
#FEF7F8
surface
#FCEEEF
border
#D5C9CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C0335B

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

Preview Lab → · Contrast checker → · Palette generator →

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