#CF405C#CF405C

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

Color values

HEX#CF405C
RGBrgb(207, 64, 92)
HSLhsl(348, 60%, 53%)
HSVhsv(348, 69%, 81%)
CMYKcmyk(0%, 69.1%, 55.6%, 18.8%)
CIE-LABlab(49.14, 57.75, 16.46)
CIE-LCHlch(49.14, 60.05, 15.90°)
OKLaboklab(58.42% 0.1741 0.0411)
OKLCHoklch(58.42% 0.179 13.3)
XYZxyz(29.5000, 17.7089, 11.9879)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF405C #40CFB3
analogous
#CF40A3 #CF405C #CF6B40
triadic
#CF405C #5CCF40 #405CCF
tetradic
#CF405C #A3CF40 #40CFB3 #6B40CF
square
#CF405C #A3CF40 #40CFB3 #6B40CF
split-complementary
#CF405C #40CF6B #40A3CF
monochromatic
#771E2F #A82A43 #CF405C #DB7186 #E8A2AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF405C#FFFFFF#000000##FFFFFF
##CF405C1.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)
#64625C
Deuteranopia (green-blind)
#898058
Tritanopia (blue-blind)
#E2204B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cf405c;
/* rgb */ color: rgb(207, 64, 92);
/* oklch */ color: oklch(58.4% 0.179 13.3);
Tailwind
colors: {
  custom: {
    50: '#e47e89',
    500: '#cf405c',
    950: '#000000',
  },
}
SCSS
$custom: #cf405c;
$custom-light: #e47e89;
$custom-dark: #000000;
JSON
{
  "hex": "#cf405c",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 92
  },
  "hsl": {
    "h": 348.252,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.58418,
    "c": 0.17893,
    "h": 13.3
  },
  "luminance": 0.17705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF405C

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

Preview Lab → · Contrast checker → · Palette generator →

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