#C5307C#C5307C

#C5307C is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.2% C 0.195 H 354.4°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#C5307C
RGBrgb(197, 48, 124)
HSLhsl(329, 61%, 48%)
HSVhsv(329, 76%, 77%)
CMYKcmyk(0%, 75.6%, 37.1%, 22.7%)
CIE-LABlab(46.23, 63.34, -7.49)
CIE-LCHlch(46.23, 63.78, 353.26°)
OKLaboklab(56.23% 0.1945 -0.019)
OKLCHoklch(56.23% 0.195 354.4)
XYZxyz(27.7228, 15.4429, 20.5858)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5307C #30C579
analogous
#C330C5 #C5307C #C53032
triadic
#C5307C #7CC530 #307CC5
tetradic
#C5307C #C5C330 #30C579 #3032C5
square
#C5307C #C5C330 #30C579 #3032C5
split-complementary
#C5307C #32C530 #30C5C3
monochromatic
#63183E #94245D #C5307C #D75B9A #E38CB9

Accessibility & contrast

On white

5.14
#C5307C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#C5307C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5307C
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5307C#FFFFFF#000000##FFFFFF
##C5307C1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7E
Deuteranopia (green-blind)
#777779
Tritanopia (blue-blind)
#D51F52
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c5307c;
/* rgb */ color: rgb(197, 48, 124);
/* oklch */ color: oklch(56.2% 0.195 354.4);
Tailwind
colors: {
  custom: {
    50: '#dc77a1',
    500: '#c5307c',
    950: '#000000',
  },
}
SCSS
$custom: #c5307c;
$custom-light: #dc77a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5307c",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 329.396,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56229,
    "c": 0.1954,
    "h": 354.4
  },
  "luminance": 0.15439
}

Semantic roles & 50–950 ramp

primary
#C5307C
secondary
#84CDA8
accent
#E49244
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #C5307C

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

Preview Lab → · Contrast checker → · Palette generator →

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