#C0315B#C0315B

#C0315B is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.4% C 0.180 H 8.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#C0315B
RGBrgb(192, 49, 91)
HSLhsl(342, 59%, 47%)
HSVhsv(342, 74%, 75%)
CMYKcmyk(0%, 74.5%, 52.6%, 24.7%)
CIE-LABlab(44.46, 58.57, 10.19)
CIE-LCHlch(44.46, 59.45, 9.87°)
OKLaboklab(54.44% 0.1782 0.0261)
OKLCHoklch(54.44% 0.18 8.3)
XYZxyz(24.7271, 14.1619, 11.3269)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0315B #31C096
analogous
#C031A2 #C0315B #C04F31
triadic
#C0315B #5BC031 #315BC0
tetradic
#C0315B #A2C031 #31C096 #4F31C0
square
#C0315B #A2C031 #31C096 #4F31C0
split-complementary
#C0315B #31C04F #31A2C0
monochromatic
#5E182D #8F2544 #C0315B #D5597E #E18AA4

Accessibility & contrast

On white

5.48
#C0315B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#C0315B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0315B
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0315B#FFFFFF#000000##FFFFFF
##C0315B1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55575C
Deuteranopia (green-blind)
#7A7458
Tritanopia (blue-blind)
#D10943
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c0315b;
/* rgb */ color: rgb(192, 49, 91);
/* oklch */ color: oklch(54.4% 0.180 8.3);
Tailwind
colors: {
  custom: {
    50: '#d97589',
    500: '#c0315b',
    950: '#000000',
  },
}
SCSS
$custom: #c0315b;
$custom-light: #d97589;
$custom-dark: #000000;
JSON
{
  "hex": "#c0315b",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 91
  },
  "hsl": {
    "h": 342.378,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54443,
    "c": 0.18012,
    "h": 8.3
  },
  "luminance": 0.14158
}

Semantic roles & 50–950 ramp

primary
#C0315B
secondary
#82CBB6
accent
#E3B445
background
#FEF7F8
surface
#FCEEEF
border
#D5C9CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C0315B

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

Preview Lab → · Contrast checker → · Palette generator →

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