#CF405F#CF405F

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

Color values

HEX#CF405F
RGBrgb(207, 64, 95)
HSLhsl(347, 60%, 53%)
HSVhsv(347, 69%, 81%)
CMYKcmyk(0%, 69.1%, 54.1%, 18.8%)
CIE-LABlab(49.21, 57.98, 14.73)
CIE-LCHlch(49.21, 59.82, 14.25°)
OKLaboklab(58.49% 0.1753 0.0371)
OKLCHoklch(58.49% 0.179 12)
XYZxyz(29.6338, 17.7624, 12.6923)
Luminance0.1776 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF405F #40CFB0
analogous
#CF40A6 #CF405F #CF6840
triadic
#CF405F #5FCF40 #405FCF
tetradic
#CF405F #A6CF40 #40CFB0 #6840CF
square
#CF405F #A6CF40 #40CFB0 #6840CF
split-complementary
#CF405F #40CF68 #40A6CF
monochromatic
#771E31 #A82A45 #CF405F #DB7188 #E8A2B1

Accessibility & contrast

On white

4.61
#CF405F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CF405F
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF405F#FFFFFF#000000##FFFFFF
##CF405F1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#63625F
Deuteranopia (green-blind)
#88805B
Tritanopia (blue-blind)
#E2224C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cf405f;
/* rgb */ color: rgb(207, 64, 95);
/* oklch */ color: oklch(58.5% 0.179 12.0);
Tailwind
colors: {
  custom: {
    50: '#e47e8c',
    500: '#cf405f',
    950: '#000000',
  },
}
SCSS
$custom: #cf405f;
$custom-light: #e47e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cf405f",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 95
  },
  "hsl": {
    "h": 346.993,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58488,
    "c": 0.17918,
    "h": 12
  },
  "luminance": 0.17758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF405F

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

Preview Lab → · Contrast checker → · Palette generator →

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