#C0315D#C0315D

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

Color values

HEX#C0315D
RGBrgb(192, 49, 93)
HSLhsl(342, 59%, 47%)
HSVhsv(342, 74%, 75%)
CMYKcmyk(0%, 74.5%, 51.6%, 24.7%)
CIE-LABlab(44.51, 58.73, 9.01)
CIE-LCHlch(44.51, 59.42, 8.73°)
OKLaboklab(54.5% 0.179 0.0233)
OKLCHoklch(54.5% 0.18 7.4)
XYZxyz(24.8145, 14.1968, 11.7874)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0315D #31C094
analogous
#C031A5 #C0315D #C04C31
triadic
#C0315D #5DC031 #315DC0
tetradic
#C0315D #A5C031 #31C094 #4C31C0
square
#C0315D #A5C031 #31C094 #4C31C0
split-complementary
#C0315D #31C04C #31A5C0
monochromatic
#5E182E #8F2545 #C0315D #D5597F #E18AA5

Accessibility & contrast

On white

5.47
#C0315D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#C0315D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0315D
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0315D#FFFFFF#000000##FFFFFF
##C0315D1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55575E
Deuteranopia (green-blind)
#7A745A
Tritanopia (blue-blind)
#D10B44
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c0315d;
/* rgb */ color: rgb(192, 49, 93);
/* oklch */ color: oklch(54.5% 0.180 7.4);
Tailwind
colors: {
  custom: {
    50: '#d9758a',
    500: '#c0315d',
    950: '#000000',
  },
}
SCSS
$custom: #c0315d;
$custom-light: #d9758a;
$custom-dark: #000000;
JSON
{
  "hex": "#c0315d",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 93
  },
  "hsl": {
    "h": 341.538,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54496,
    "c": 0.18048,
    "h": 7.4
  },
  "luminance": 0.14193
}

Semantic roles & 50–950 ramp

primary
#C0315D
secondary
#82CBB5
accent
#E3B245
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C0315D

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

Preview Lab → · Contrast checker → · Palette generator →

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