#CA314F#CA314F

#CA314F is a mid, vivid red. Relative luminance 0.153; OKLCH L 55.9% C 0.188 H 15.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#CA314F
RGBrgb(202, 49, 79)
HSLhsl(348, 61%, 49%)
HSVhsv(348, 76%, 79%)
CMYKcmyk(0%, 75.7%, 60.9%, 20.8%)
CIE-LABlab(46.07, 60.60, 20.10)
CIE-LCHlch(46.07, 63.85, 18.35°)
OKLaboklab(55.89% 0.1817 0.0491)
OKLCHoklch(55.89% 0.188 15.1)
XYZxyz(26.8695, 15.3217, 8.9382)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA314F #31CAAC
analogous
#CA319C #CA314F #CA5F31
triadic
#CA314F #4FCA31 #314FCA
tetradic
#CA314F #9CCA31 #31CAAC #5F31CA
square
#CA314F #9CCA31 #31CAAC #5F31CA
split-complementary
#CA314F #31CA5F #319CCA
monochromatic
#671928 #99253C #CA314F #D86077 #E491A1

Accessibility & contrast

On white

5.17
#CA314F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#CA314F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CA314F
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA314F#FFFFFF#000000##FFFFFF
##CA314F1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C594F
Deuteranopia (green-blind)
#83794B
Tritanopia (blue-blind)
#DD003E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #ca314f;
/* rgb */ color: rgb(202, 49, 79);
/* oklch */ color: oklch(55.9% 0.188 15.1);
Tailwind
colors: {
  custom: {
    50: '#e27680',
    500: '#ca314f',
    950: '#000000',
  },
}
SCSS
$custom: #ca314f;
$custom-light: #e27680;
$custom-dark: #000000;
JSON
{
  "hex": "#ca314f",
  "rgb": {
    "r": 202,
    "g": 49,
    "b": 79
  },
  "hsl": {
    "h": 348.235,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55886,
    "c": 0.18825,
    "h": 15.1
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#CA314F
secondary
#88CFC1
accent
#E4C544
background
#FEF7F7
surface
#FDEEEE
border
#D5C9C9
text
#170A0A
muted
#857C7C

Preview Lab

Preview with #CA314F

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

Preview Lab → · Contrast checker → · Palette generator →

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