#C7315B#C7315B

#C7315B is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.6% C 0.187 H 9.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#C7315B
RGBrgb(199, 49, 91)
HSLhsl(343, 60%, 49%)
HSVhsv(343, 75%, 78%)
CMYKcmyk(0%, 75.4%, 54.3%, 22%)
CIE-LABlab(45.77, 60.58, 12.20)
CIE-LCHlch(45.77, 61.79, 11.39°)
OKLaboklab(55.64% 0.1839 0.031)
OKLCHoklch(55.64% 0.187 9.6)
XYZxyz(26.5423, 15.0978, 11.4120)
Luminance0.1509 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7315B #31C79D
analogous
#C731A6 #C7315B #C75231
triadic
#C7315B #5BC731 #315BC7
tetradic
#C7315B #A6C731 #31C79D #5231C7
square
#C7315B #A6C731 #31C79D #5231C7
split-complementary
#C7315B #31C752 #31A6C7
monochromatic
#65192E #962545 #C7315B #D75E80 #E38FA7

Accessibility & contrast

On white

5.23
#C7315B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#C7315B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7315B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7315B#FFFFFF#000000##FFFFFF
##C7315B1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58595C
Deuteranopia (green-blind)
#7F7757
Tritanopia (blue-blind)
#D90043
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c7315b;
/* rgb */ color: rgb(199, 49, 91);
/* oklch */ color: oklch(55.6% 0.187 9.6);
Tailwind
colors: {
  custom: {
    50: '#df7689',
    500: '#c7315b',
    950: '#000000',
  },
}
SCSS
$custom: #c7315b;
$custom-light: #df7689;
$custom-dark: #000000;
JSON
{
  "hex": "#c7315b",
  "rgb": {
    "r": 199,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 343.2,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55644,
    "c": 0.18653,
    "h": 9.6
  },
  "luminance": 0.15094
}

Semantic roles & 50–950 ramp

primary
#C7315B
secondary
#86CEBA
accent
#E4B744
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C7315B

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

Preview Lab → · Contrast checker → · Palette generator →

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