#CF405D#CF405D

#CF405D is a mid, vivid red. Relative luminance 0.177; OKLCH L 58.4% C 0.179 H 12.8°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CF405D
RGBrgb(207, 64, 93)
HSLhsl(348, 60%, 53%)
HSVhsv(348, 69%, 81%)
CMYKcmyk(0%, 69.1%, 55.1%, 18.8%)
CIE-LABlab(49.16, 57.83, 15.88)
CIE-LCHlch(49.16, 59.97, 15.35°)
OKLaboklab(58.44% 0.1745 0.0398)
OKLCHoklch(58.44% 0.179 12.8)
XYZxyz(29.5440, 17.7265, 12.2196)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF405D #40CFB2
analogous
#CF40A5 #CF405D #CF6A40
triadic
#CF405D #5DCF40 #405DCF
tetradic
#CF405D #A5CF40 #40CFB2 #6A40CF
square
#CF405D #A5CF40 #40CFB2 #6A40CF
split-complementary
#CF405D #40CF6A #40A5CF
monochromatic
#771E30 #A82A44 #CF405D #DB7186 #E8A2B0

Accessibility & contrast

On white

4.62
#CF405D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#CF405D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF405D
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF405D#FFFFFF#000000##FFFFFF
##CF405D1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64625D
Deuteranopia (green-blind)
#898059
Tritanopia (blue-blind)
#E2214C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cf405d;
/* rgb */ color: rgb(207, 64, 93);
/* oklch */ color: oklch(58.4% 0.179 12.8);
Tailwind
colors: {
  custom: {
    50: '#e47e8a',
    500: '#cf405d',
    950: '#000000',
  },
}
SCSS
$custom: #cf405d;
$custom-light: #e47e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#cf405d",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 93
  },
  "hsl": {
    "h": 347.832,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58441,
    "c": 0.17901,
    "h": 12.8
  },
  "luminance": 0.17723
}

Semantic roles & 50–950 ramp

primary
#CF405D
secondary
#97D4C8
accent
#E3C345
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#170B0B
muted
#857C7C

Preview Lab

Preview with #CF405D

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

Preview Lab → · Contrast checker → · Palette generator →

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