#C5305F#C5305F

#C5305F is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.3% C 0.186 H 7.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#C5305F
RGBrgb(197, 48, 95)
HSLhsl(341, 61%, 48%)
HSVhsv(341, 76%, 77%)
CMYKcmyk(0%, 75.6%, 51.8%, 22.7%)
CIE-LABlab(45.38, 60.64, 9.13)
CIE-LCHlch(45.38, 61.32, 8.56°)
OKLaboklab(55.32% 0.1848 0.0236)
OKLCHoklch(55.32% 0.186 7.3)
XYZxyz(26.1508, 14.8141, 12.3066)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5305F #30C596
analogous
#C530A9 #C5305F #C54C30
triadic
#C5305F #5FC530 #305FC5
tetradic
#C5305F #A9C530 #30C596 #4C30C5
square
#C5305F #A9C530 #30C596 #4C30C5
split-complementary
#C5305F #30C54C #30A9C5
monochromatic
#631830 #942447 #C5305F #D75B82 #E38CA8

Accessibility & contrast

On white

5.30
#C5305F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#C5305F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5305F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5305F#FFFFFF#000000##FFFFFF
##C5305F1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565860
Deuteranopia (green-blind)
#7D765B
Tritanopia (blue-blind)
#D70244
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c5305f;
/* rgb */ color: rgb(197, 48, 95);
/* oklch */ color: oklch(55.3% 0.186 7.3);
Tailwind
colors: {
  custom: {
    50: '#dd768c',
    500: '#c5305f',
    950: '#000000',
  },
}
SCSS
$custom: #c5305f;
$custom-light: #dd768c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5305f",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 95
  },
  "hsl": {
    "h": 341.074,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5532,
    "c": 0.18635,
    "h": 7.3
  },
  "luminance": 0.1481
}

Semantic roles & 50–950 ramp

primary
#C5305F
secondary
#84CDB6
accent
#E4B144
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C5305F

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

Preview Lab → · Contrast checker → · Palette generator →

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