#C2315F#C2315F

#C2315F is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.9% C 0.183 H 6.9°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#C2315F
RGBrgb(194, 49, 95)
HSLhsl(341, 60%, 48%)
HSVhsv(341, 75%, 76%)
CMYKcmyk(0%, 74.7%, 51%, 23.9%)
CIE-LABlab(44.94, 59.47, 8.42)
CIE-LCHlch(44.94, 60.06, 8.06°)
OKLaboklab(54.89% 0.1814 0.0219)
OKLCHoklch(54.89% 0.183 6.9)
XYZxyz(25.4143, 14.4957, 12.2839)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2315F #31C294
analogous
#C231A7 #C2315F #C24C31
triadic
#C2315F #5FC231 #315FC2
tetradic
#C2315F #A7C231 #31C294 #4C31C2
square
#C2315F #A7C231 #31C294 #4C31C2
split-complementary
#C2315F #31C24C #31A7C2
monochromatic
#60182F #912547 #C2315F #D65B82 #E28CA7

Accessibility & contrast

On white

5.39
#C2315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#C2315F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C2315F
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2315F#FFFFFF#000000##FFFFFF
##C2315F1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555860
Deuteranopia (green-blind)
#7B755C
Tritanopia (blue-blind)
#D30A44
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c2315f;
/* rgb */ color: rgb(194, 49, 95);
/* oklch */ color: oklch(54.9% 0.183 6.9);
Tailwind
colors: {
  custom: {
    50: '#db768c',
    500: '#c2315f',
    950: '#000000',
  },
}
SCSS
$custom: #c2315f;
$custom-light: #db768c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2315f",
  "rgb": {
    "r": 194,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 340.966,
    "s": 59.671,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54892,
    "c": 0.18267,
    "h": 6.9
  },
  "luminance": 0.14492
}

Semantic roles & 50–950 ramp

primary
#C2315F
secondary
#83CCB5
accent
#E3B145
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C2315F

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

Preview Lab → · Contrast checker → · Palette generator →

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