#C9315F#C9315F

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

Color values

HEX#C9315F
RGBrgb(201, 49, 95)
HSLhsl(342, 61%, 49%)
HSVhsv(342, 76%, 79%)
CMYKcmyk(0%, 75.6%, 52.7%, 21.2%)
CIE-LABlab(46.24, 61.45, 10.44)
CIE-LCHlch(46.24, 62.33, 9.64°)
OKLaboklab(56.09% 0.1871 0.0268)
OKLCHoklch(56.09% 0.189 8.1)
XYZxyz(27.2538, 15.4442, 12.3702)
Luminance0.1544 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C9315F #31C99B
analogous
#C931AB #C9315F #C94F31
triadic
#C9315F #5FC931 #315FC9
tetradic
#C9315F #ABC931 #31C99B #4F31C9
square
#C9315F #ABC931 #31C99B #4F31C9
split-complementary
#C9315F #31C94F #31ABC9
monochromatic
#671930 #982548 #C9315F #D85F84 #E490AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C9315F#FFFFFF#000000##FFFFFF
##C9315F1.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)
#585A60
Deuteranopia (green-blind)
#80795B
Tritanopia (blue-blind)
#DB0045
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c9315f;
/* rgb */ color: rgb(201, 49, 95);
/* oklch */ color: oklch(56.1% 0.189 8.1);
Tailwind
colors: {
  custom: {
    50: '#e0778c',
    500: '#c9315f',
    950: '#000000',
  },
}
SCSS
$custom: #c9315f;
$custom-light: #e0778c;
$custom-dark: #000000;
JSON
{
  "hex": "#c9315f",
  "rgb": {
    "r": 201,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 341.842,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56088,
    "c": 0.18897,
    "h": 8.1
  },
  "luminance": 0.1544
}

Semantic roles & 50–950 ramp

primary
#C9315F
secondary
#87CFB9
accent
#E4B344
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#160A0C
muted
#847C7D

Preview Lab

Preview with #C9315F

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

Preview Lab → · Contrast checker → · Palette generator →

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