#CE4F8B#CE4F8B

#CE4F8B is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.3% C 0.171 H 354.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#CE4F8B
RGBrgb(206, 79, 139)
HSLhsl(332, 56%, 56%)
HSVhsv(332, 62%, 81%)
CMYKcmyk(0%, 61.7%, 32.5%, 19.2%)
CIE-LABlab(52.49, 55.90, -7.04)
CIE-LCHlch(52.49, 56.34, 352.82°)
OKLaboklab(61.29% 0.1704 -0.0179)
OKLCHoklch(61.29% 0.171 354)
XYZxyz(32.9115, 20.5813, 26.6605)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE4F8B #4FCE92
analogous
#CE4FCA #CE4F8B #CE534F
triadic
#CE4F8B #8BCE4F #4F8BCE
tetradic
#CE4F8B #CACE4F #4FCE92 #534FCE
square
#CE4F8B #CACE4F #4FCE92 #534FCE
split-complementary
#CE4F8B #4FCE53 #4FCACE
monochromatic
#7F234F #AF316C #CE4F8B #DB7FAB #E9AFCA

Accessibility & contrast

On white

4.11
#CE4F8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#CE4F8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CE4F8B
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE4F8B#FFFFFF#000000##000000
##CE4F8B1.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#626F8D
Deuteranopia (green-blind)
#858688
Tritanopia (blue-blind)
#DD4767
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #ce4f8b;
/* rgb */ color: rgb(206, 79, 139);
/* oklch */ color: oklch(61.3% 0.171 354.0);
Tailwind
colors: {
  custom: {
    50: '#e187ac',
    500: '#ce4f8b',
    950: '#000000',
  },
}
SCSS
$custom: #ce4f8b;
$custom-light: #e187ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ce4f8b",
  "rgb": {
    "r": 206,
    "g": 79,
    "b": 139
  },
  "hsl": {
    "h": 331.654,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61287,
    "c": 0.17131,
    "h": 354
  },
  "luminance": 0.20578
}

Semantic roles & 50–950 ramp

primary
#CE4F8B
secondary
#A2D7BE
accent
#E09848
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CE4F8B

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

Preview Lab → · Contrast checker → · Palette generator →

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