#C5307F#C5307F

#C5307F is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.3% C 0.197 H 353.1°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#C5307F
RGBrgb(197, 48, 127)
HSLhsl(328, 61%, 48%)
HSVhsv(328, 76%, 77%)
CMYKcmyk(0%, 75.6%, 35.5%, 22.7%)
CIE-LABlab(46.34, 63.66, -9.16)
CIE-LCHlch(46.34, 64.31, 351.81°)
OKLaboklab(56.34% 0.1953 -0.0235)
OKLCHoklch(56.34% 0.197 353.1)
XYZxyz(27.9154, 15.5199, 21.6002)
Luminance0.1552 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5307F #30C576
analogous
#C030C5 #C5307F #C53034
triadic
#C5307F #7FC530 #307FC5
tetradic
#C5307F #C5C030 #30C576 #3034C5
square
#C5307F #C5C030 #30C576 #3034C5
split-complementary
#C5307F #34C530 #30C5C0
monochromatic
#631840 #94245F #C5307F #D75B9D #E38CBA

Accessibility & contrast

On white

5.12
#C5307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C5307F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5307F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5307F#FFFFFF#000000##FFFFFF
##C5307F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5C81
Deuteranopia (green-blind)
#76787C
Tritanopia (blue-blind)
#D42154
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c5307f;
/* rgb */ color: rgb(197, 48, 127);
/* oklch */ color: oklch(56.3% 0.197 353.1);
Tailwind
colors: {
  custom: {
    50: '#dc77a4',
    500: '#c5307f',
    950: '#000000',
  },
}
SCSS
$custom: #c5307f;
$custom-light: #dc77a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c5307f",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 328.188,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56339,
    "c": 0.19672,
    "h": 353.1
  },
  "luminance": 0.15517
}

Semantic roles & 50–950 ramp

primary
#C5307F
secondary
#84CDA6
accent
#E48F44
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C5307F

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

Preview Lab → · Contrast checker → · Palette generator →

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