#C31F53#C31F53

#C31F53 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.5% C 0.197 H 9.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#C31F53
RGBrgb(195, 31, 83)
HSLhsl(341, 73%, 44%)
HSVhsv(341, 84%, 76%)
CMYKcmyk(0%, 84.1%, 57.4%, 23.5%)
CIE-LABlab(43.08, 63.82, 13.35)
CIE-LCHlch(43.08, 65.20, 11.81°)
OKLaboklab(53.46% 0.1937 0.0335)
OKLCHoklch(53.46% 0.197 9.8)
XYZxyz(24.5595, 13.2103, 9.4386)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C31F53 #1FC38F
analogous
#C31FA5 #C31F53 #C33D1F
triadic
#C31F53 #53C31F #1F53C3
tetradic
#C31F53 #A5C31F #1FC38F #3D1FC3
square
#C31F53 #A5C31F #1FC38F #3D1FC3
split-complementary
#C31F53 #1FC33D #1FA5C3
monochromatic
#590E26 #8E173D #C31F53 #E03F72 #E97499

Accessibility & contrast

On white

5.77
#C31F53 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#C31F53 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C31F53
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C31F53#FFFFFF#000000##FFFFFF
##C31F531.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505154
Deuteranopia (green-blind)
#79714F
Tritanopia (blue-blind)
#D50037
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c31f53;
/* rgb */ color: rgb(195, 31, 83);
/* oklch */ color: oklch(53.5% 0.197 9.8);
Tailwind
colors: {
  custom: {
    50: '#dd6f83',
    500: '#c31f53',
    950: '#000000',
  },
}
SCSS
$custom: #c31f53;
$custom-light: #dd6f83;
$custom-dark: #000000;
JSON
{
  "hex": "#c31f53",
  "rgb": {
    "r": 195,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 340.976,
    "s": 72.566,
    "l": 44.314
  },
  "oklch": {
    "l": 0.53464,
    "c": 0.19658,
    "h": 9.8
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#C31F53
secondary
#6ED0B1
accent
#EFB539
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #C31F53

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

Preview Lab → · Contrast checker → · Palette generator →

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