#CF4062#CF4062

#CF4062 is a mid, vivid red. Relative luminance 0.178; OKLCH L 58.6% C 0.180 H 10.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#CF4062
RGBrgb(207, 64, 98)
HSLhsl(346, 60%, 53%)
HSVhsv(346, 69%, 81%)
CMYKcmyk(0%, 69.1%, 52.7%, 18.8%)
CIE-LABlab(49.27, 58.21, 13.00)
CIE-LCHlch(49.27, 59.65, 12.59°)
OKLaboklab(58.56% 0.1764 0.033)
OKLCHoklch(58.56% 0.18 10.6)
XYZxyz(29.7728, 17.8180, 13.4243)
Luminance0.1781 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4062 #40CFAD
analogous
#CF40AA #CF4062 #CF6540
triadic
#CF4062 #62CF40 #4062CF
tetradic
#CF4062 #AACF40 #40CFAD #6540CF
square
#CF4062 #AACF40 #40CFAD #6540CF
split-complementary
#CF4062 #40CF65 #40AACF
monochromatic
#771E33 #A82A48 #CF4062 #DB718A #E8A2B2

Accessibility & contrast

On white

4.60
#CF4062 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CF4062 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CF4062
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4062#FFFFFF#000000##FFFFFF
##CF40621.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#636363
Deuteranopia (green-blind)
#88805E
Tritanopia (blue-blind)
#E2234E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cf4062;
/* rgb */ color: rgb(207, 64, 98);
/* oklch */ color: oklch(58.6% 0.180 10.6);
Tailwind
colors: {
  custom: {
    50: '#e47e8e',
    500: '#cf4062',
    950: '#000000',
  },
}
SCSS
$custom: #cf4062;
$custom-light: #e47e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4062",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 98
  },
  "hsl": {
    "h": 345.734,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5856,
    "c": 0.17951,
    "h": 10.6
  },
  "luminance": 0.17814
}

Semantic roles & 50–950 ramp

primary
#CF4062
secondary
#97D4C6
accent
#E3BD45
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#170B0C
muted
#857C7D

Preview Lab

Preview with #CF4062

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

Preview Lab → · Contrast checker → · Palette generator →

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