#CF5262#CF5262

#CF5262 is a mid, vivid red. Relative luminance 0.202; OKLCH L 60.6% C 0.158 H 15.5°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#CF5262
RGBrgb(207, 82, 98)
HSLhsl(352, 57%, 57%)
HSVhsv(352, 60%, 81%)
CMYKcmyk(0%, 60.4%, 52.7%, 18.8%)
CIE-LABlab(52.05, 50.71, 16.81)
CIE-LCHlch(52.05, 53.42, 18.34°)
OKLaboklab(60.63% 0.1526 0.0422)
OKLCHoklch(60.63% 0.158 15.5)
XYZxyz(30.9566, 20.1857, 13.8190)
Luminance0.2018 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5262 #52CFBF
analogous
#CF52A1 #CF5262 #CF8152
triadic
#CF5262 #62CF52 #5262CF
tetradic
#CF5262 #A1CF52 #52CFBF #8152CF
square
#CF5262 #A1CF52 #52CFBF #8152CF
split-complementary
#CF5262 #52CF81 #52A1CF
monochromatic
#822430 #B23142 #CF5262 #DC828D #EAB2B9

Accessibility & contrast

On white

4.17
#CF5262 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#CF5262 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5262
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5262#FFFFFF#000000##000000
##CF52621.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F6C62
Deuteranopia (green-blind)
#8F865F
Tritanopia (blue-blind)
#E13E58
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf5262;
/* rgb */ color: rgb(207, 82, 98);
/* oklch */ color: oklch(60.6% 0.158 15.5);
Tailwind
colors: {
  custom: {
    50: '#e3888e',
    500: '#cf5262',
    950: '#000000',
  },
}
SCSS
$custom: #cf5262;
$custom-light: #e3888e;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5262",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 98
  },
  "hsl": {
    "h": 352.32,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60629,
    "c": 0.15831,
    "h": 15.5
  },
  "luminance": 0.20182
}

Semantic roles & 50–950 ramp

primary
#CF5262
secondary
#A5D8D1
accent
#E0CC48
background
#FEF8F8
surface
#FDF0F0
border
#D5CBCB
text
#160C0C
muted
#847D7D

Preview Lab

Preview with #CF5262

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

Preview Lab → · Contrast checker → · Palette generator →

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