#C4335F#C4335F

#C4335F is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.4% C 0.182 H 7.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C4335F
RGBrgb(196, 51, 95)
HSLhsl(342, 59%, 48%)
HSVhsv(342, 74%, 77%)
CMYKcmyk(0%, 74%, 51.5%, 23.1%)
CIE-LABlab(45.54, 59.37, 9.33)
CIE-LCHlch(45.54, 60.10, 8.93°)
OKLaboklab(55.41% 0.1809 0.0241)
OKLCHoklch(55.41% 0.182 7.6)
XYZxyz(26.0167, 14.9332, 12.3367)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4335F #33C498
analogous
#C433A7 #C4335F #C44F33
triadic
#C4335F #5FC433 #335FC4
tetradic
#C4335F #A7C433 #33C498 #4F33C4
square
#C4335F #A7C433 #33C498 #4F33C4
split-complementary
#C4335F #33C44F #33A7C4
monochromatic
#631A30 #932647 #C4335F #D55F83 #E28FA8

Accessibility & contrast

On white

5.27
#C4335F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#C4335F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C4335F
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4335F#FFFFFF#000000##FFFFFF
##C4335F1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575960
Deuteranopia (green-blind)
#7D765B
Tritanopia (blue-blind)
#D60E45
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c4335f;
/* rgb */ color: rgb(196, 51, 95);
/* oklch */ color: oklch(55.4% 0.182 7.6);
Tailwind
colors: {
  custom: {
    50: '#dc778c',
    500: '#c4335f',
    950: '#000000',
  },
}
SCSS
$custom: #c4335f;
$custom-light: #dc778c;
$custom-dark: #000000;
JSON
{
  "hex": "#c4335f",
  "rgb": {
    "r": 196,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 341.793,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55407,
    "c": 0.18248,
    "h": 7.6
  },
  "luminance": 0.1493
}

Semantic roles & 50–950 ramp

primary
#C4335F
secondary
#86CDB7
accent
#E2B346
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#160A0C
muted
#847C7D

Preview Lab

Preview with #C4335F

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

Preview Lab → · Contrast checker → · Palette generator →

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