#CF526B#CF526B

#CF526B is a mid, vivid red. Relative luminance 0.204; OKLCH L 60.8% C 0.159 H 10.9°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CF526B
RGBrgb(207, 82, 107)
HSLhsl(348, 57%, 57%)
HSVhsv(348, 60%, 81%)
CMYKcmyk(0%, 60.4%, 48.3%, 18.8%)
CIE-LABlab(52.25, 51.50, 11.73)
CIE-LCHlch(52.25, 52.82, 12.83°)
OKLaboklab(60.85% 0.1561 0.0301)
OKLCHoklch(60.85% 0.159 10.9)
XYZxyz(31.4057, 20.3653, 16.1841)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF526B #52CFB6
analogous
#CF52AA #CF526B #CF7852
triadic
#CF526B #6BCF52 #526BCF
tetradic
#CF526B #AACF52 #52CFB6 #7852CF
square
#CF526B #AACF52 #52CFB6 #7852CF
split-complementary
#CF526B #52CF78 #52AACF
monochromatic
#822437 #B2314B #CF526B #DC8294 #EAB2BD

Accessibility & contrast

On white

4.14
#CF526B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CF526B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF526B
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF526B#FFFFFF#000000##000000
##CF526B1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D6D6B
Deuteranopia (green-blind)
#8D8668
Tritanopia (blue-blind)
#E1405C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cf526b;
/* rgb */ color: rgb(207, 82, 107);
/* oklch */ color: oklch(60.8% 0.159 10.9);
Tailwind
colors: {
  custom: {
    50: '#e38895',
    500: '#cf526b',
    950: '#000000',
  },
}
SCSS
$custom: #cf526b;
$custom-light: #e38895;
$custom-dark: #000000;
JSON
{
  "hex": "#cf526b",
  "rgb": {
    "r": 207,
    "g": 82,
    "b": 107
  },
  "hsl": {
    "h": 348,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60846,
    "c": 0.15893,
    "h": 10.9
  },
  "luminance": 0.20362
}

Semantic roles & 50–950 ramp

primary
#CF526B
secondary
#A5D8CE
accent
#E0C148
background
#FEF8F9
surface
#FDF0F1
border
#D5CBCB
text
#160C0D
muted
#847D7E

Preview Lab

Preview with #CF526B

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

Preview Lab → · Contrast checker → · Palette generator →

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