#C0315C#C0315C

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

Color values

HEX#C0315C
RGBrgb(192, 49, 92)
HSLhsl(342, 59%, 47%)
HSVhsv(342, 74%, 75%)
CMYKcmyk(0%, 74.5%, 52.1%, 24.7%)
CIE-LABlab(44.49, 58.65, 9.60)
CIE-LCHlch(44.49, 59.43, 9.30°)
OKLaboklab(54.47% 0.1786 0.0247)
OKLCHoklch(54.47% 0.18 7.9)
XYZxyz(24.7705, 14.1792, 11.5556)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0315C #31C095
analogous
#C031A4 #C0315C #C04E31
triadic
#C0315C #5CC031 #315CC0
tetradic
#C0315C #A4C031 #31C095 #4E31C0
square
#C0315C #A4C031 #31C095 #4E31C0
split-complementary
#C0315C #31C04E #31A4C0
monochromatic
#5E182D #8F2545 #C0315C #D5597F #E18AA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0315C#FFFFFF#000000##FFFFFF
##C0315C1.005.483.845.48
#FFFFFF5.481.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55575D
Deuteranopia (green-blind)
#7A7459
Tritanopia (blue-blind)
#D10A43
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c0315c;
/* rgb */ color: rgb(192, 49, 92);
/* oklch */ color: oklch(54.5% 0.180 7.9);
Tailwind
colors: {
  custom: {
    50: '#d97589',
    500: '#c0315c',
    950: '#000000',
  },
}
SCSS
$custom: #c0315c;
$custom-light: #d97589;
$custom-dark: #000000;
JSON
{
  "hex": "#c0315c",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 92
  },
  "hsl": {
    "h": 341.958,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5447,
    "c": 0.18029,
    "h": 7.9
  },
  "luminance": 0.14176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0315C

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

Preview Lab → · Contrast checker → · Palette generator →

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