#CF405E#CF405E

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

Color values

HEX#CF405E
RGBrgb(207, 64, 94)
HSLhsl(347, 60%, 53%)
HSVhsv(347, 69%, 81%)
CMYKcmyk(0%, 69.1%, 54.6%, 18.8%)
CIE-LABlab(49.18, 57.90, 15.30)
CIE-LCHlch(49.18, 59.89, 14.80°)
OKLaboklab(58.46% 0.1749 0.0385)
OKLCHoklch(58.46% 0.179 12.4)
XYZxyz(29.5886, 17.7444, 12.4544)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF405E #40CFB1
analogous
#CF40A5 #CF405E #CF6940
triadic
#CF405E #5ECF40 #405ECF
tetradic
#CF405E #A5CF40 #40CFB1 #6940CF
square
#CF405E #A5CF40 #40CFB1 #6940CF
split-complementary
#CF405E #40CF69 #40A5CF
monochromatic
#771E30 #A82A44 #CF405E #DB7187 #E8A2B0

Accessibility & contrast

On white

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

On black

4.55
#CF405E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CF405E#FFFFFF#000000##FFFFFF
##CF405E1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63625E
Deuteranopia (green-blind)
#88805A
Tritanopia (blue-blind)
#E2214C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cf405e;
/* rgb */ color: rgb(207, 64, 94);
/* oklch */ color: oklch(58.5% 0.179 12.4);
Tailwind
colors: {
  custom: {
    50: '#e47e8b',
    500: '#cf405e',
    950: '#000000',
  },
}
SCSS
$custom: #cf405e;
$custom-light: #e47e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#cf405e",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 94
  },
  "hsl": {
    "h": 347.413,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58464,
    "c": 0.17909,
    "h": 12.4
  },
  "luminance": 0.1774
}

Semantic roles & 50–950 ramp

primary
#CF405E
secondary
#97D4C7
accent
#E3C245
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#170B0C
muted
#857C7D

Preview Lab

Preview with #CF405E

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

Preview Lab → · Contrast checker → · Palette generator →

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